clear all;
close all;
clc;

functions={'Ackley'
'Beale'
'Bohachevsky'
'Booth'
'Branin'
'Colville'
'DixonPrice'
'Easom'
'GoldsteinPrice'
'Griewangk'
'Hartmann'
'Himmelblau'
'Langermann'
'Levy'
'Levy3'
'Levy5'
'Matyas'
'Michalewicz'
'Perm'
'Powell'
'PowerSum'
'Rana'
'Rastrigin'
'Rosenbrock'
'Schwefel'
'Shekel'
'Shubert'
'Sphere'
'Trid'
'Whitley'
'Zakharov'
}
methods={'AACA'
'ACO'
'API'
'CACO'
'CMAES'
'DACO'
'DifferentialEvolution'
'HGAPSO'
'OrthogonalSearch'
'PALDifferentialEvolution'
'PBIL'
'Powell'
'PSO'
'QuasiNewton'
'Random'
'SADE'
'SteepestDescent'
'PureCMAES'
'IPOPCMAES'
}


colors=hsv(size(methods,1));


AckleyBest=csvread('AckleyBest.csv');
AckleyWorst=csvread('AckleyWorst.csv');
BealeBest=csvread('BealeBest.csv');
BealeWorst=csvread('BealeWorst.csv');
BohachevskyBest=csvread('BohachevskyBest.csv');
BohachevskyWorst=csvread('BohachevskyWorst.csv');
BoothBest=csvread('BoothBest.csv');
BoothWorst=csvread('BoothWorst.csv');
BraninBest=csvread('BraninBest.csv');
BraninWorst=csvread('BraninWorst.csv');
ColvilleBest=csvread('ColvilleBest.csv');
ColvilleWorst=csvread('ColvilleWorst.csv');
DixonPriceBest=csvread('DixonPriceBest.csv');
DixonPriceWorst=csvread('DixonPriceWorst.csv');
EasomBest=csvread('EasomBest.csv');
EasomWorst=csvread('EasomWorst.csv');
GoldsteinPriceBest=csvread('GoldsteinPriceBest.csv');
GoldsteinPriceWorst=csvread('GoldsteinPriceWorst.csv');
GriewangkBest=csvread('GriewangkBest.csv');
GriewangkWorst=csvread('GriewangkWorst.csv');
HartmannBest=csvread('HartmannBest.csv');
HartmannWorst=csvread('HartmannWorst.csv');
HimmelblauBest=csvread('HimmelblauBest.csv');
HimmelblauWorst=csvread('HimmelblauWorst.csv');
LangermannBest=csvread('LangermannBest.csv');
LangermannWorst=csvread('LangermannWorst.csv');
LevyBest=csvread('LevyBest.csv');
LevyWorst=csvread('LevyWorst.csv');
Levy3Best=csvread('Levy3Best.csv');
Levy3Worst=csvread('Levy3Worst.csv');
Levy5Best=csvread('Levy5Best.csv');
Levy5Worst=csvread('Levy5Worst.csv');
MatyasBest=csvread('MatyasBest.csv');
MatyasWorst=csvread('MatyasWorst.csv');
MichalewiczBest=csvread('MichalewiczBest.csv');
MichalewiczWorst=csvread('MichalewiczWorst.csv');
PermBest=csvread('PermBest.csv');
PermWorst=csvread('PermWorst.csv');
PowellBest=csvread('PowellBest.csv');
PowellWorst=csvread('PowellWorst.csv');
PowerSumBest=csvread('PowerSumBest.csv');
PowerSumWorst=csvread('PowerSumWorst.csv');
RanaBest=csvread('RanaBest.csv');
RanaWorst=csvread('RanaWorst.csv');
RastriginBest=csvread('RastriginBest.csv');
RastriginWorst=csvread('RastriginWorst.csv');
RosenbrockBest=csvread('RosenbrockBest.csv');
RosenbrockWorst=csvread('RosenbrockWorst.csv');
SchwefelBest=csvread('SchwefelBest.csv');
SchwefelWorst=csvread('SchwefelWorst.csv');
ShekelBest=csvread('ShekelBest.csv');
ShekelWorst=csvread('ShekelWorst.csv');
ShubertBest=csvread('ShubertBest.csv');
ShubertWorst=csvread('ShubertWorst.csv');
SphereBest=csvread('SphereBest.csv');
SphereWorst=csvread('SphereWorst.csv');
TridBest=csvread('TridBest.csv');
TridWorst=csvread('TridWorst.csv');
WhitleyBest=csvread('WhitleyBest.csv');
WhitleyWorst=csvread('WhitleyWorst.csv');
ZakharovBest=csvread('ZakharovBest.csv');
ZakharovWorst=csvread('ZakharovWorst.csv');


AckleyBest(1,find(AckleyBest(1,:)==0))=-Inf;
AckleyWorst(1,find(AckleyWorst(1,:)==0))=-Inf;
AckleyBest(2,find(AckleyBest(2,:)==0))=-Inf;
AckleyWorst(2,find(AckleyWorst(2,:)==0))=-Inf;
AckleyBest(3,find(AckleyBest(3,:)==0))=-Inf;
AckleyWorst(3,find(AckleyWorst(3,:)==0))=-Inf;
AckleyBest(4,find(AckleyBest(4,:)==0))=-Inf;
AckleyWorst(4,find(AckleyWorst(4,:)==0))=-Inf;
AckleyBest(5,find(AckleyBest(5,:)==0))=-Inf;
AckleyWorst(5,find(AckleyWorst(5,:)==0))=-Inf;
AckleyBest(6,find(AckleyBest(6,:)==0))=-Inf;
AckleyWorst(6,find(AckleyWorst(6,:)==0))=-Inf;
AckleyBest(7,find(AckleyBest(7,:)==0))=-Inf;
AckleyWorst(7,find(AckleyWorst(7,:)==0))=-Inf;
AckleyBest(8,find(AckleyBest(8,:)==0))=-Inf;
AckleyWorst(8,find(AckleyWorst(8,:)==0))=-Inf;
AckleyBest(9,find(AckleyBest(9,:)==0))=-Inf;
AckleyWorst(9,find(AckleyWorst(9,:)==0))=-Inf;
AckleyBest(10,find(AckleyBest(10,:)==0))=-Inf;
AckleyWorst(10,find(AckleyWorst(10,:)==0))=-Inf;
AckleyBest(11,find(AckleyBest(11,:)==0))=-Inf;
AckleyWorst(11,find(AckleyWorst(11,:)==0))=-Inf;
AckleyBest(12,find(AckleyBest(12,:)==0))=-Inf;
AckleyWorst(12,find(AckleyWorst(12,:)==0))=-Inf;
AckleyBest(13,find(AckleyBest(13,:)==0))=-Inf;
AckleyWorst(13,find(AckleyWorst(13,:)==0))=-Inf;
AckleyBest(14,find(AckleyBest(14,:)==0))=-Inf;
AckleyWorst(14,find(AckleyWorst(14,:)==0))=-Inf;
AckleyBest(15,find(AckleyBest(15,:)==0))=-Inf;
AckleyWorst(15,find(AckleyWorst(15,:)==0))=-Inf;
AckleyBest(16,find(AckleyBest(16,:)==0))=-Inf;
AckleyWorst(16,find(AckleyWorst(16,:)==0))=-Inf;
AckleyBest(17,find(AckleyBest(17,:)==0))=-Inf;
AckleyWorst(17,find(AckleyWorst(17,:)==0))=-Inf;
AckleyBest(18,find(AckleyBest(18,:)==0))=-Inf;
AckleyWorst(18,find(AckleyWorst(18,:)==0))=-Inf;
AckleyBest(19,find(AckleyBest(19,:)==0))=-Inf;
AckleyWorst(19,find(AckleyWorst(19,:)==0))=-Inf;
BealeBest(1,find(BealeBest(1,:)==0))=-Inf;
BealeWorst(1,find(BealeWorst(1,:)==0))=-Inf;
BealeBest(2,find(BealeBest(2,:)==0))=-Inf;
BealeWorst(2,find(BealeWorst(2,:)==0))=-Inf;
BealeBest(3,find(BealeBest(3,:)==0))=-Inf;
BealeWorst(3,find(BealeWorst(3,:)==0))=-Inf;
BealeBest(4,find(BealeBest(4,:)==0))=-Inf;
BealeWorst(4,find(BealeWorst(4,:)==0))=-Inf;
BealeBest(5,find(BealeBest(5,:)==0))=-Inf;
BealeWorst(5,find(BealeWorst(5,:)==0))=-Inf;
BealeBest(6,find(BealeBest(6,:)==0))=-Inf;
BealeWorst(6,find(BealeWorst(6,:)==0))=-Inf;
BealeBest(7,find(BealeBest(7,:)==0))=-Inf;
BealeWorst(7,find(BealeWorst(7,:)==0))=-Inf;
BealeBest(8,find(BealeBest(8,:)==0))=-Inf;
BealeWorst(8,find(BealeWorst(8,:)==0))=-Inf;
BealeBest(9,find(BealeBest(9,:)==0))=-Inf;
BealeWorst(9,find(BealeWorst(9,:)==0))=-Inf;
BealeBest(10,find(BealeBest(10,:)==0))=-Inf;
BealeWorst(10,find(BealeWorst(10,:)==0))=-Inf;
BealeBest(11,find(BealeBest(11,:)==0))=-Inf;
BealeWorst(11,find(BealeWorst(11,:)==0))=-Inf;
BealeBest(12,find(BealeBest(12,:)==0))=-Inf;
BealeWorst(12,find(BealeWorst(12,:)==0))=-Inf;
BealeBest(13,find(BealeBest(13,:)==0))=-Inf;
BealeWorst(13,find(BealeWorst(13,:)==0))=-Inf;
BealeBest(14,find(BealeBest(14,:)==0))=-Inf;
BealeWorst(14,find(BealeWorst(14,:)==0))=-Inf;
BealeBest(15,find(BealeBest(15,:)==0))=-Inf;
BealeWorst(15,find(BealeWorst(15,:)==0))=-Inf;
BealeBest(16,find(BealeBest(16,:)==0))=-Inf;
BealeWorst(16,find(BealeWorst(16,:)==0))=-Inf;
BealeBest(17,find(BealeBest(17,:)==0))=-Inf;
BealeWorst(17,find(BealeWorst(17,:)==0))=-Inf;
BealeBest(18,find(BealeBest(18,:)==0))=-Inf;
BealeWorst(18,find(BealeWorst(18,:)==0))=-Inf;
BealeBest(19,find(BealeBest(19,:)==0))=-Inf;
BealeWorst(19,find(BealeWorst(19,:)==0))=-Inf;
BohachevskyBest(1,find(BohachevskyBest(1,:)==0))=-Inf;
BohachevskyWorst(1,find(BohachevskyWorst(1,:)==0))=-Inf;
BohachevskyBest(2,find(BohachevskyBest(2,:)==0))=-Inf;
BohachevskyWorst(2,find(BohachevskyWorst(2,:)==0))=-Inf;
BohachevskyBest(3,find(BohachevskyBest(3,:)==0))=-Inf;
BohachevskyWorst(3,find(BohachevskyWorst(3,:)==0))=-Inf;
BohachevskyBest(4,find(BohachevskyBest(4,:)==0))=-Inf;
BohachevskyWorst(4,find(BohachevskyWorst(4,:)==0))=-Inf;
BohachevskyBest(5,find(BohachevskyBest(5,:)==0))=-Inf;
BohachevskyWorst(5,find(BohachevskyWorst(5,:)==0))=-Inf;
BohachevskyBest(6,find(BohachevskyBest(6,:)==0))=-Inf;
BohachevskyWorst(6,find(BohachevskyWorst(6,:)==0))=-Inf;
BohachevskyBest(7,find(BohachevskyBest(7,:)==0))=-Inf;
BohachevskyWorst(7,find(BohachevskyWorst(7,:)==0))=-Inf;
BohachevskyBest(8,find(BohachevskyBest(8,:)==0))=-Inf;
BohachevskyWorst(8,find(BohachevskyWorst(8,:)==0))=-Inf;
BohachevskyBest(9,find(BohachevskyBest(9,:)==0))=-Inf;
BohachevskyWorst(9,find(BohachevskyWorst(9,:)==0))=-Inf;
BohachevskyBest(10,find(BohachevskyBest(10,:)==0))=-Inf;
BohachevskyWorst(10,find(BohachevskyWorst(10,:)==0))=-Inf;
BohachevskyBest(11,find(BohachevskyBest(11,:)==0))=-Inf;
BohachevskyWorst(11,find(BohachevskyWorst(11,:)==0))=-Inf;
BohachevskyBest(12,find(BohachevskyBest(12,:)==0))=-Inf;
BohachevskyWorst(12,find(BohachevskyWorst(12,:)==0))=-Inf;
BohachevskyBest(13,find(BohachevskyBest(13,:)==0))=-Inf;
BohachevskyWorst(13,find(BohachevskyWorst(13,:)==0))=-Inf;
BohachevskyBest(14,find(BohachevskyBest(14,:)==0))=-Inf;
BohachevskyWorst(14,find(BohachevskyWorst(14,:)==0))=-Inf;
BohachevskyBest(15,find(BohachevskyBest(15,:)==0))=-Inf;
BohachevskyWorst(15,find(BohachevskyWorst(15,:)==0))=-Inf;
BohachevskyBest(16,find(BohachevskyBest(16,:)==0))=-Inf;
BohachevskyWorst(16,find(BohachevskyWorst(16,:)==0))=-Inf;
BohachevskyBest(17,find(BohachevskyBest(17,:)==0))=-Inf;
BohachevskyWorst(17,find(BohachevskyWorst(17,:)==0))=-Inf;
BohachevskyBest(18,find(BohachevskyBest(18,:)==0))=-Inf;
BohachevskyWorst(18,find(BohachevskyWorst(18,:)==0))=-Inf;
BohachevskyBest(19,find(BohachevskyBest(19,:)==0))=-Inf;
BohachevskyWorst(19,find(BohachevskyWorst(19,:)==0))=-Inf;
BoothBest(1,find(BoothBest(1,:)==0))=-Inf;
BoothWorst(1,find(BoothWorst(1,:)==0))=-Inf;
BoothBest(2,find(BoothBest(2,:)==0))=-Inf;
BoothWorst(2,find(BoothWorst(2,:)==0))=-Inf;
BoothBest(3,find(BoothBest(3,:)==0))=-Inf;
BoothWorst(3,find(BoothWorst(3,:)==0))=-Inf;
BoothBest(4,find(BoothBest(4,:)==0))=-Inf;
BoothWorst(4,find(BoothWorst(4,:)==0))=-Inf;
BoothBest(5,find(BoothBest(5,:)==0))=-Inf;
BoothWorst(5,find(BoothWorst(5,:)==0))=-Inf;
BoothBest(6,find(BoothBest(6,:)==0))=-Inf;
BoothWorst(6,find(BoothWorst(6,:)==0))=-Inf;
BoothBest(7,find(BoothBest(7,:)==0))=-Inf;
BoothWorst(7,find(BoothWorst(7,:)==0))=-Inf;
BoothBest(8,find(BoothBest(8,:)==0))=-Inf;
BoothWorst(8,find(BoothWorst(8,:)==0))=-Inf;
BoothBest(9,find(BoothBest(9,:)==0))=-Inf;
BoothWorst(9,find(BoothWorst(9,:)==0))=-Inf;
BoothBest(10,find(BoothBest(10,:)==0))=-Inf;
BoothWorst(10,find(BoothWorst(10,:)==0))=-Inf;
BoothBest(11,find(BoothBest(11,:)==0))=-Inf;
BoothWorst(11,find(BoothWorst(11,:)==0))=-Inf;
BoothBest(12,find(BoothBest(12,:)==0))=-Inf;
BoothWorst(12,find(BoothWorst(12,:)==0))=-Inf;
BoothBest(13,find(BoothBest(13,:)==0))=-Inf;
BoothWorst(13,find(BoothWorst(13,:)==0))=-Inf;
BoothBest(14,find(BoothBest(14,:)==0))=-Inf;
BoothWorst(14,find(BoothWorst(14,:)==0))=-Inf;
BoothBest(15,find(BoothBest(15,:)==0))=-Inf;
BoothWorst(15,find(BoothWorst(15,:)==0))=-Inf;
BoothBest(16,find(BoothBest(16,:)==0))=-Inf;
BoothWorst(16,find(BoothWorst(16,:)==0))=-Inf;
BoothBest(17,find(BoothBest(17,:)==0))=-Inf;
BoothWorst(17,find(BoothWorst(17,:)==0))=-Inf;
BoothBest(18,find(BoothBest(18,:)==0))=-Inf;
BoothWorst(18,find(BoothWorst(18,:)==0))=-Inf;
BoothBest(19,find(BoothBest(19,:)==0))=-Inf;
BoothWorst(19,find(BoothWorst(19,:)==0))=-Inf;
BraninBest(1,find(BraninBest(1,:)==0))=-Inf;
BraninWorst(1,find(BraninWorst(1,:)==0))=-Inf;
BraninBest(2,find(BraninBest(2,:)==0))=-Inf;
BraninWorst(2,find(BraninWorst(2,:)==0))=-Inf;
BraninBest(3,find(BraninBest(3,:)==0))=-Inf;
BraninWorst(3,find(BraninWorst(3,:)==0))=-Inf;
BraninBest(4,find(BraninBest(4,:)==0))=-Inf;
BraninWorst(4,find(BraninWorst(4,:)==0))=-Inf;
BraninBest(5,find(BraninBest(5,:)==0))=-Inf;
BraninWorst(5,find(BraninWorst(5,:)==0))=-Inf;
BraninBest(6,find(BraninBest(6,:)==0))=-Inf;
BraninWorst(6,find(BraninWorst(6,:)==0))=-Inf;
BraninBest(7,find(BraninBest(7,:)==0))=-Inf;
BraninWorst(7,find(BraninWorst(7,:)==0))=-Inf;
BraninBest(8,find(BraninBest(8,:)==0))=-Inf;
BraninWorst(8,find(BraninWorst(8,:)==0))=-Inf;
BraninBest(9,find(BraninBest(9,:)==0))=-Inf;
BraninWorst(9,find(BraninWorst(9,:)==0))=-Inf;
BraninBest(10,find(BraninBest(10,:)==0))=-Inf;
BraninWorst(10,find(BraninWorst(10,:)==0))=-Inf;
BraninBest(11,find(BraninBest(11,:)==0))=-Inf;
BraninWorst(11,find(BraninWorst(11,:)==0))=-Inf;
BraninBest(12,find(BraninBest(12,:)==0))=-Inf;
BraninWorst(12,find(BraninWorst(12,:)==0))=-Inf;
BraninBest(13,find(BraninBest(13,:)==0))=-Inf;
BraninWorst(13,find(BraninWorst(13,:)==0))=-Inf;
BraninBest(14,find(BraninBest(14,:)==0))=-Inf;
BraninWorst(14,find(BraninWorst(14,:)==0))=-Inf;
BraninBest(15,find(BraninBest(15,:)==0))=-Inf;
BraninWorst(15,find(BraninWorst(15,:)==0))=-Inf;
BraninBest(16,find(BraninBest(16,:)==0))=-Inf;
BraninWorst(16,find(BraninWorst(16,:)==0))=-Inf;
BraninBest(17,find(BraninBest(17,:)==0))=-Inf;
BraninWorst(17,find(BraninWorst(17,:)==0))=-Inf;
BraninBest(18,find(BraninBest(18,:)==0))=-Inf;
BraninWorst(18,find(BraninWorst(18,:)==0))=-Inf;
BraninBest(19,find(BraninBest(19,:)==0))=-Inf;
BraninWorst(19,find(BraninWorst(19,:)==0))=-Inf;
ColvilleBest(1,find(ColvilleBest(1,:)==0))=-Inf;
ColvilleWorst(1,find(ColvilleWorst(1,:)==0))=-Inf;
ColvilleBest(2,find(ColvilleBest(2,:)==0))=-Inf;
ColvilleWorst(2,find(ColvilleWorst(2,:)==0))=-Inf;
ColvilleBest(3,find(ColvilleBest(3,:)==0))=-Inf;
ColvilleWorst(3,find(ColvilleWorst(3,:)==0))=-Inf;
ColvilleBest(4,find(ColvilleBest(4,:)==0))=-Inf;
ColvilleWorst(4,find(ColvilleWorst(4,:)==0))=-Inf;
ColvilleBest(5,find(ColvilleBest(5,:)==0))=-Inf;
ColvilleWorst(5,find(ColvilleWorst(5,:)==0))=-Inf;
ColvilleBest(6,find(ColvilleBest(6,:)==0))=-Inf;
ColvilleWorst(6,find(ColvilleWorst(6,:)==0))=-Inf;
ColvilleBest(7,find(ColvilleBest(7,:)==0))=-Inf;
ColvilleWorst(7,find(ColvilleWorst(7,:)==0))=-Inf;
ColvilleBest(8,find(ColvilleBest(8,:)==0))=-Inf;
ColvilleWorst(8,find(ColvilleWorst(8,:)==0))=-Inf;
ColvilleBest(9,find(ColvilleBest(9,:)==0))=-Inf;
ColvilleWorst(9,find(ColvilleWorst(9,:)==0))=-Inf;
ColvilleBest(10,find(ColvilleBest(10,:)==0))=-Inf;
ColvilleWorst(10,find(ColvilleWorst(10,:)==0))=-Inf;
ColvilleBest(11,find(ColvilleBest(11,:)==0))=-Inf;
ColvilleWorst(11,find(ColvilleWorst(11,:)==0))=-Inf;
ColvilleBest(12,find(ColvilleBest(12,:)==0))=-Inf;
ColvilleWorst(12,find(ColvilleWorst(12,:)==0))=-Inf;
ColvilleBest(13,find(ColvilleBest(13,:)==0))=-Inf;
ColvilleWorst(13,find(ColvilleWorst(13,:)==0))=-Inf;
ColvilleBest(14,find(ColvilleBest(14,:)==0))=-Inf;
ColvilleWorst(14,find(ColvilleWorst(14,:)==0))=-Inf;
ColvilleBest(15,find(ColvilleBest(15,:)==0))=-Inf;
ColvilleWorst(15,find(ColvilleWorst(15,:)==0))=-Inf;
ColvilleBest(16,find(ColvilleBest(16,:)==0))=-Inf;
ColvilleWorst(16,find(ColvilleWorst(16,:)==0))=-Inf;
ColvilleBest(17,find(ColvilleBest(17,:)==0))=-Inf;
ColvilleWorst(17,find(ColvilleWorst(17,:)==0))=-Inf;
ColvilleBest(18,find(ColvilleBest(18,:)==0))=-Inf;
ColvilleWorst(18,find(ColvilleWorst(18,:)==0))=-Inf;
ColvilleBest(19,find(ColvilleBest(19,:)==0))=-Inf;
ColvilleWorst(19,find(ColvilleWorst(19,:)==0))=-Inf;
DixonPriceBest(1,find(DixonPriceBest(1,:)==0))=-Inf;
DixonPriceWorst(1,find(DixonPriceWorst(1,:)==0))=-Inf;
DixonPriceBest(2,find(DixonPriceBest(2,:)==0))=-Inf;
DixonPriceWorst(2,find(DixonPriceWorst(2,:)==0))=-Inf;
DixonPriceBest(3,find(DixonPriceBest(3,:)==0))=-Inf;
DixonPriceWorst(3,find(DixonPriceWorst(3,:)==0))=-Inf;
DixonPriceBest(4,find(DixonPriceBest(4,:)==0))=-Inf;
DixonPriceWorst(4,find(DixonPriceWorst(4,:)==0))=-Inf;
DixonPriceBest(5,find(DixonPriceBest(5,:)==0))=-Inf;
DixonPriceWorst(5,find(DixonPriceWorst(5,:)==0))=-Inf;
DixonPriceBest(6,find(DixonPriceBest(6,:)==0))=-Inf;
DixonPriceWorst(6,find(DixonPriceWorst(6,:)==0))=-Inf;
DixonPriceBest(7,find(DixonPriceBest(7,:)==0))=-Inf;
DixonPriceWorst(7,find(DixonPriceWorst(7,:)==0))=-Inf;
DixonPriceBest(8,find(DixonPriceBest(8,:)==0))=-Inf;
DixonPriceWorst(8,find(DixonPriceWorst(8,:)==0))=-Inf;
DixonPriceBest(9,find(DixonPriceBest(9,:)==0))=-Inf;
DixonPriceWorst(9,find(DixonPriceWorst(9,:)==0))=-Inf;
DixonPriceBest(10,find(DixonPriceBest(10,:)==0))=-Inf;
DixonPriceWorst(10,find(DixonPriceWorst(10,:)==0))=-Inf;
DixonPriceBest(11,find(DixonPriceBest(11,:)==0))=-Inf;
DixonPriceWorst(11,find(DixonPriceWorst(11,:)==0))=-Inf;
DixonPriceBest(12,find(DixonPriceBest(12,:)==0))=-Inf;
DixonPriceWorst(12,find(DixonPriceWorst(12,:)==0))=-Inf;
DixonPriceBest(13,find(DixonPriceBest(13,:)==0))=-Inf;
DixonPriceWorst(13,find(DixonPriceWorst(13,:)==0))=-Inf;
DixonPriceBest(14,find(DixonPriceBest(14,:)==0))=-Inf;
DixonPriceWorst(14,find(DixonPriceWorst(14,:)==0))=-Inf;
DixonPriceBest(15,find(DixonPriceBest(15,:)==0))=-Inf;
DixonPriceWorst(15,find(DixonPriceWorst(15,:)==0))=-Inf;
DixonPriceBest(16,find(DixonPriceBest(16,:)==0))=-Inf;
DixonPriceWorst(16,find(DixonPriceWorst(16,:)==0))=-Inf;
DixonPriceBest(17,find(DixonPriceBest(17,:)==0))=-Inf;
DixonPriceWorst(17,find(DixonPriceWorst(17,:)==0))=-Inf;
DixonPriceBest(18,find(DixonPriceBest(18,:)==0))=-Inf;
DixonPriceWorst(18,find(DixonPriceWorst(18,:)==0))=-Inf;
DixonPriceBest(19,find(DixonPriceBest(19,:)==0))=-Inf;
DixonPriceWorst(19,find(DixonPriceWorst(19,:)==0))=-Inf;
EasomBest(1,find(EasomBest(1,:)==0))=-Inf;
EasomWorst(1,find(EasomWorst(1,:)==0))=-Inf;
EasomBest(2,find(EasomBest(2,:)==0))=-Inf;
EasomWorst(2,find(EasomWorst(2,:)==0))=-Inf;
EasomBest(3,find(EasomBest(3,:)==0))=-Inf;
EasomWorst(3,find(EasomWorst(3,:)==0))=-Inf;
EasomBest(4,find(EasomBest(4,:)==0))=-Inf;
EasomWorst(4,find(EasomWorst(4,:)==0))=-Inf;
EasomBest(5,find(EasomBest(5,:)==0))=-Inf;
EasomWorst(5,find(EasomWorst(5,:)==0))=-Inf;
EasomBest(6,find(EasomBest(6,:)==0))=-Inf;
EasomWorst(6,find(EasomWorst(6,:)==0))=-Inf;
EasomBest(7,find(EasomBest(7,:)==0))=-Inf;
EasomWorst(7,find(EasomWorst(7,:)==0))=-Inf;
EasomBest(8,find(EasomBest(8,:)==0))=-Inf;
EasomWorst(8,find(EasomWorst(8,:)==0))=-Inf;
EasomBest(9,find(EasomBest(9,:)==0))=-Inf;
EasomWorst(9,find(EasomWorst(9,:)==0))=-Inf;
EasomBest(10,find(EasomBest(10,:)==0))=-Inf;
EasomWorst(10,find(EasomWorst(10,:)==0))=-Inf;
EasomBest(11,find(EasomBest(11,:)==0))=-Inf;
EasomWorst(11,find(EasomWorst(11,:)==0))=-Inf;
EasomBest(12,find(EasomBest(12,:)==0))=-Inf;
EasomWorst(12,find(EasomWorst(12,:)==0))=-Inf;
EasomBest(13,find(EasomBest(13,:)==0))=-Inf;
EasomWorst(13,find(EasomWorst(13,:)==0))=-Inf;
EasomBest(14,find(EasomBest(14,:)==0))=-Inf;
EasomWorst(14,find(EasomWorst(14,:)==0))=-Inf;
EasomBest(15,find(EasomBest(15,:)==0))=-Inf;
EasomWorst(15,find(EasomWorst(15,:)==0))=-Inf;
EasomBest(16,find(EasomBest(16,:)==0))=-Inf;
EasomWorst(16,find(EasomWorst(16,:)==0))=-Inf;
EasomBest(17,find(EasomBest(17,:)==0))=-Inf;
EasomWorst(17,find(EasomWorst(17,:)==0))=-Inf;
EasomBest(18,find(EasomBest(18,:)==0))=-Inf;
EasomWorst(18,find(EasomWorst(18,:)==0))=-Inf;
EasomBest(19,find(EasomBest(19,:)==0))=-Inf;
EasomWorst(19,find(EasomWorst(19,:)==0))=-Inf;
GoldsteinPriceBest(1,find(GoldsteinPriceBest(1,:)==0))=-Inf;
GoldsteinPriceWorst(1,find(GoldsteinPriceWorst(1,:)==0))=-Inf;
GoldsteinPriceBest(2,find(GoldsteinPriceBest(2,:)==0))=-Inf;
GoldsteinPriceWorst(2,find(GoldsteinPriceWorst(2,:)==0))=-Inf;
GoldsteinPriceBest(3,find(GoldsteinPriceBest(3,:)==0))=-Inf;
GoldsteinPriceWorst(3,find(GoldsteinPriceWorst(3,:)==0))=-Inf;
GoldsteinPriceBest(4,find(GoldsteinPriceBest(4,:)==0))=-Inf;
GoldsteinPriceWorst(4,find(GoldsteinPriceWorst(4,:)==0))=-Inf;
GoldsteinPriceBest(5,find(GoldsteinPriceBest(5,:)==0))=-Inf;
GoldsteinPriceWorst(5,find(GoldsteinPriceWorst(5,:)==0))=-Inf;
GoldsteinPriceBest(6,find(GoldsteinPriceBest(6,:)==0))=-Inf;
GoldsteinPriceWorst(6,find(GoldsteinPriceWorst(6,:)==0))=-Inf;
GoldsteinPriceBest(7,find(GoldsteinPriceBest(7,:)==0))=-Inf;
GoldsteinPriceWorst(7,find(GoldsteinPriceWorst(7,:)==0))=-Inf;
GoldsteinPriceBest(8,find(GoldsteinPriceBest(8,:)==0))=-Inf;
GoldsteinPriceWorst(8,find(GoldsteinPriceWorst(8,:)==0))=-Inf;
GoldsteinPriceBest(9,find(GoldsteinPriceBest(9,:)==0))=-Inf;
GoldsteinPriceWorst(9,find(GoldsteinPriceWorst(9,:)==0))=-Inf;
GoldsteinPriceBest(10,find(GoldsteinPriceBest(10,:)==0))=-Inf;
GoldsteinPriceWorst(10,find(GoldsteinPriceWorst(10,:)==0))=-Inf;
GoldsteinPriceBest(11,find(GoldsteinPriceBest(11,:)==0))=-Inf;
GoldsteinPriceWorst(11,find(GoldsteinPriceWorst(11,:)==0))=-Inf;
GoldsteinPriceBest(12,find(GoldsteinPriceBest(12,:)==0))=-Inf;
GoldsteinPriceWorst(12,find(GoldsteinPriceWorst(12,:)==0))=-Inf;
GoldsteinPriceBest(13,find(GoldsteinPriceBest(13,:)==0))=-Inf;
GoldsteinPriceWorst(13,find(GoldsteinPriceWorst(13,:)==0))=-Inf;
GoldsteinPriceBest(14,find(GoldsteinPriceBest(14,:)==0))=-Inf;
GoldsteinPriceWorst(14,find(GoldsteinPriceWorst(14,:)==0))=-Inf;
GoldsteinPriceBest(15,find(GoldsteinPriceBest(15,:)==0))=-Inf;
GoldsteinPriceWorst(15,find(GoldsteinPriceWorst(15,:)==0))=-Inf;
GoldsteinPriceBest(16,find(GoldsteinPriceBest(16,:)==0))=-Inf;
GoldsteinPriceWorst(16,find(GoldsteinPriceWorst(16,:)==0))=-Inf;
GoldsteinPriceBest(17,find(GoldsteinPriceBest(17,:)==0))=-Inf;
GoldsteinPriceWorst(17,find(GoldsteinPriceWorst(17,:)==0))=-Inf;
GoldsteinPriceBest(18,find(GoldsteinPriceBest(18,:)==0))=-Inf;
GoldsteinPriceWorst(18,find(GoldsteinPriceWorst(18,:)==0))=-Inf;
GoldsteinPriceBest(19,find(GoldsteinPriceBest(19,:)==0))=-Inf;
GoldsteinPriceWorst(19,find(GoldsteinPriceWorst(19,:)==0))=-Inf;
GriewangkBest(1,find(GriewangkBest(1,:)==0))=-Inf;
GriewangkWorst(1,find(GriewangkWorst(1,:)==0))=-Inf;
GriewangkBest(2,find(GriewangkBest(2,:)==0))=-Inf;
GriewangkWorst(2,find(GriewangkWorst(2,:)==0))=-Inf;
GriewangkBest(3,find(GriewangkBest(3,:)==0))=-Inf;
GriewangkWorst(3,find(GriewangkWorst(3,:)==0))=-Inf;
GriewangkBest(4,find(GriewangkBest(4,:)==0))=-Inf;
GriewangkWorst(4,find(GriewangkWorst(4,:)==0))=-Inf;
GriewangkBest(5,find(GriewangkBest(5,:)==0))=-Inf;
GriewangkWorst(5,find(GriewangkWorst(5,:)==0))=-Inf;
GriewangkBest(6,find(GriewangkBest(6,:)==0))=-Inf;
GriewangkWorst(6,find(GriewangkWorst(6,:)==0))=-Inf;
GriewangkBest(7,find(GriewangkBest(7,:)==0))=-Inf;
GriewangkWorst(7,find(GriewangkWorst(7,:)==0))=-Inf;
GriewangkBest(8,find(GriewangkBest(8,:)==0))=-Inf;
GriewangkWorst(8,find(GriewangkWorst(8,:)==0))=-Inf;
GriewangkBest(9,find(GriewangkBest(9,:)==0))=-Inf;
GriewangkWorst(9,find(GriewangkWorst(9,:)==0))=-Inf;
GriewangkBest(10,find(GriewangkBest(10,:)==0))=-Inf;
GriewangkWorst(10,find(GriewangkWorst(10,:)==0))=-Inf;
GriewangkBest(11,find(GriewangkBest(11,:)==0))=-Inf;
GriewangkWorst(11,find(GriewangkWorst(11,:)==0))=-Inf;
GriewangkBest(12,find(GriewangkBest(12,:)==0))=-Inf;
GriewangkWorst(12,find(GriewangkWorst(12,:)==0))=-Inf;
GriewangkBest(13,find(GriewangkBest(13,:)==0))=-Inf;
GriewangkWorst(13,find(GriewangkWorst(13,:)==0))=-Inf;
GriewangkBest(14,find(GriewangkBest(14,:)==0))=-Inf;
GriewangkWorst(14,find(GriewangkWorst(14,:)==0))=-Inf;
GriewangkBest(15,find(GriewangkBest(15,:)==0))=-Inf;
GriewangkWorst(15,find(GriewangkWorst(15,:)==0))=-Inf;
GriewangkBest(16,find(GriewangkBest(16,:)==0))=-Inf;
GriewangkWorst(16,find(GriewangkWorst(16,:)==0))=-Inf;
GriewangkBest(17,find(GriewangkBest(17,:)==0))=-Inf;
GriewangkWorst(17,find(GriewangkWorst(17,:)==0))=-Inf;
GriewangkBest(18,find(GriewangkBest(18,:)==0))=-Inf;
GriewangkWorst(18,find(GriewangkWorst(18,:)==0))=-Inf;
GriewangkBest(19,find(GriewangkBest(19,:)==0))=-Inf;
GriewangkWorst(19,find(GriewangkWorst(19,:)==0))=-Inf;
HartmannBest(1,find(HartmannBest(1,:)==0))=-Inf;
HartmannWorst(1,find(HartmannWorst(1,:)==0))=-Inf;
HartmannBest(2,find(HartmannBest(2,:)==0))=-Inf;
HartmannWorst(2,find(HartmannWorst(2,:)==0))=-Inf;
HartmannBest(3,find(HartmannBest(3,:)==0))=-Inf;
HartmannWorst(3,find(HartmannWorst(3,:)==0))=-Inf;
HartmannBest(4,find(HartmannBest(4,:)==0))=-Inf;
HartmannWorst(4,find(HartmannWorst(4,:)==0))=-Inf;
HartmannBest(5,find(HartmannBest(5,:)==0))=-Inf;
HartmannWorst(5,find(HartmannWorst(5,:)==0))=-Inf;
HartmannBest(6,find(HartmannBest(6,:)==0))=-Inf;
HartmannWorst(6,find(HartmannWorst(6,:)==0))=-Inf;
HartmannBest(7,find(HartmannBest(7,:)==0))=-Inf;
HartmannWorst(7,find(HartmannWorst(7,:)==0))=-Inf;
HartmannBest(8,find(HartmannBest(8,:)==0))=-Inf;
HartmannWorst(8,find(HartmannWorst(8,:)==0))=-Inf;
HartmannBest(9,find(HartmannBest(9,:)==0))=-Inf;
HartmannWorst(9,find(HartmannWorst(9,:)==0))=-Inf;
HartmannBest(10,find(HartmannBest(10,:)==0))=-Inf;
HartmannWorst(10,find(HartmannWorst(10,:)==0))=-Inf;
HartmannBest(11,find(HartmannBest(11,:)==0))=-Inf;
HartmannWorst(11,find(HartmannWorst(11,:)==0))=-Inf;
HartmannBest(12,find(HartmannBest(12,:)==0))=-Inf;
HartmannWorst(12,find(HartmannWorst(12,:)==0))=-Inf;
HartmannBest(13,find(HartmannBest(13,:)==0))=-Inf;
HartmannWorst(13,find(HartmannWorst(13,:)==0))=-Inf;
HartmannBest(14,find(HartmannBest(14,:)==0))=-Inf;
HartmannWorst(14,find(HartmannWorst(14,:)==0))=-Inf;
HartmannBest(15,find(HartmannBest(15,:)==0))=-Inf;
HartmannWorst(15,find(HartmannWorst(15,:)==0))=-Inf;
HartmannBest(16,find(HartmannBest(16,:)==0))=-Inf;
HartmannWorst(16,find(HartmannWorst(16,:)==0))=-Inf;
HartmannBest(17,find(HartmannBest(17,:)==0))=-Inf;
HartmannWorst(17,find(HartmannWorst(17,:)==0))=-Inf;
HartmannBest(18,find(HartmannBest(18,:)==0))=-Inf;
HartmannWorst(18,find(HartmannWorst(18,:)==0))=-Inf;
HartmannBest(19,find(HartmannBest(19,:)==0))=-Inf;
HartmannWorst(19,find(HartmannWorst(19,:)==0))=-Inf;
HimmelblauBest(1,find(HimmelblauBest(1,:)==0))=-Inf;
HimmelblauWorst(1,find(HimmelblauWorst(1,:)==0))=-Inf;
HimmelblauBest(2,find(HimmelblauBest(2,:)==0))=-Inf;
HimmelblauWorst(2,find(HimmelblauWorst(2,:)==0))=-Inf;
HimmelblauBest(3,find(HimmelblauBest(3,:)==0))=-Inf;
HimmelblauWorst(3,find(HimmelblauWorst(3,:)==0))=-Inf;
HimmelblauBest(4,find(HimmelblauBest(4,:)==0))=-Inf;
HimmelblauWorst(4,find(HimmelblauWorst(4,:)==0))=-Inf;
HimmelblauBest(5,find(HimmelblauBest(5,:)==0))=-Inf;
HimmelblauWorst(5,find(HimmelblauWorst(5,:)==0))=-Inf;
HimmelblauBest(6,find(HimmelblauBest(6,:)==0))=-Inf;
HimmelblauWorst(6,find(HimmelblauWorst(6,:)==0))=-Inf;
HimmelblauBest(7,find(HimmelblauBest(7,:)==0))=-Inf;
HimmelblauWorst(7,find(HimmelblauWorst(7,:)==0))=-Inf;
HimmelblauBest(8,find(HimmelblauBest(8,:)==0))=-Inf;
HimmelblauWorst(8,find(HimmelblauWorst(8,:)==0))=-Inf;
HimmelblauBest(9,find(HimmelblauBest(9,:)==0))=-Inf;
HimmelblauWorst(9,find(HimmelblauWorst(9,:)==0))=-Inf;
HimmelblauBest(10,find(HimmelblauBest(10,:)==0))=-Inf;
HimmelblauWorst(10,find(HimmelblauWorst(10,:)==0))=-Inf;
HimmelblauBest(11,find(HimmelblauBest(11,:)==0))=-Inf;
HimmelblauWorst(11,find(HimmelblauWorst(11,:)==0))=-Inf;
HimmelblauBest(12,find(HimmelblauBest(12,:)==0))=-Inf;
HimmelblauWorst(12,find(HimmelblauWorst(12,:)==0))=-Inf;
HimmelblauBest(13,find(HimmelblauBest(13,:)==0))=-Inf;
HimmelblauWorst(13,find(HimmelblauWorst(13,:)==0))=-Inf;
HimmelblauBest(14,find(HimmelblauBest(14,:)==0))=-Inf;
HimmelblauWorst(14,find(HimmelblauWorst(14,:)==0))=-Inf;
HimmelblauBest(15,find(HimmelblauBest(15,:)==0))=-Inf;
HimmelblauWorst(15,find(HimmelblauWorst(15,:)==0))=-Inf;
HimmelblauBest(16,find(HimmelblauBest(16,:)==0))=-Inf;
HimmelblauWorst(16,find(HimmelblauWorst(16,:)==0))=-Inf;
HimmelblauBest(17,find(HimmelblauBest(17,:)==0))=-Inf;
HimmelblauWorst(17,find(HimmelblauWorst(17,:)==0))=-Inf;
HimmelblauBest(18,find(HimmelblauBest(18,:)==0))=-Inf;
HimmelblauWorst(18,find(HimmelblauWorst(18,:)==0))=-Inf;
HimmelblauBest(19,find(HimmelblauBest(19,:)==0))=-Inf;
HimmelblauWorst(19,find(HimmelblauWorst(19,:)==0))=-Inf;
LangermannBest(1,find(LangermannBest(1,:)==0))=-Inf;
LangermannWorst(1,find(LangermannWorst(1,:)==0))=-Inf;
LangermannBest(2,find(LangermannBest(2,:)==0))=-Inf;
LangermannWorst(2,find(LangermannWorst(2,:)==0))=-Inf;
LangermannBest(3,find(LangermannBest(3,:)==0))=-Inf;
LangermannWorst(3,find(LangermannWorst(3,:)==0))=-Inf;
LangermannBest(4,find(LangermannBest(4,:)==0))=-Inf;
LangermannWorst(4,find(LangermannWorst(4,:)==0))=-Inf;
LangermannBest(5,find(LangermannBest(5,:)==0))=-Inf;
LangermannWorst(5,find(LangermannWorst(5,:)==0))=-Inf;
LangermannBest(6,find(LangermannBest(6,:)==0))=-Inf;
LangermannWorst(6,find(LangermannWorst(6,:)==0))=-Inf;
LangermannBest(7,find(LangermannBest(7,:)==0))=-Inf;
LangermannWorst(7,find(LangermannWorst(7,:)==0))=-Inf;
LangermannBest(8,find(LangermannBest(8,:)==0))=-Inf;
LangermannWorst(8,find(LangermannWorst(8,:)==0))=-Inf;
LangermannBest(9,find(LangermannBest(9,:)==0))=-Inf;
LangermannWorst(9,find(LangermannWorst(9,:)==0))=-Inf;
LangermannBest(10,find(LangermannBest(10,:)==0))=-Inf;
LangermannWorst(10,find(LangermannWorst(10,:)==0))=-Inf;
LangermannBest(11,find(LangermannBest(11,:)==0))=-Inf;
LangermannWorst(11,find(LangermannWorst(11,:)==0))=-Inf;
LangermannBest(12,find(LangermannBest(12,:)==0))=-Inf;
LangermannWorst(12,find(LangermannWorst(12,:)==0))=-Inf;
LangermannBest(13,find(LangermannBest(13,:)==0))=-Inf;
LangermannWorst(13,find(LangermannWorst(13,:)==0))=-Inf;
LangermannBest(14,find(LangermannBest(14,:)==0))=-Inf;
LangermannWorst(14,find(LangermannWorst(14,:)==0))=-Inf;
LangermannBest(15,find(LangermannBest(15,:)==0))=-Inf;
LangermannWorst(15,find(LangermannWorst(15,:)==0))=-Inf;
LangermannBest(16,find(LangermannBest(16,:)==0))=-Inf;
LangermannWorst(16,find(LangermannWorst(16,:)==0))=-Inf;
LangermannBest(17,find(LangermannBest(17,:)==0))=-Inf;
LangermannWorst(17,find(LangermannWorst(17,:)==0))=-Inf;
LangermannBest(18,find(LangermannBest(18,:)==0))=-Inf;
LangermannWorst(18,find(LangermannWorst(18,:)==0))=-Inf;
LangermannBest(19,find(LangermannBest(19,:)==0))=-Inf;
LangermannWorst(19,find(LangermannWorst(19,:)==0))=-Inf;
LevyBest(1,find(LevyBest(1,:)==0))=-Inf;
LevyWorst(1,find(LevyWorst(1,:)==0))=-Inf;
LevyBest(2,find(LevyBest(2,:)==0))=-Inf;
LevyWorst(2,find(LevyWorst(2,:)==0))=-Inf;
LevyBest(3,find(LevyBest(3,:)==0))=-Inf;
LevyWorst(3,find(LevyWorst(3,:)==0))=-Inf;
LevyBest(4,find(LevyBest(4,:)==0))=-Inf;
LevyWorst(4,find(LevyWorst(4,:)==0))=-Inf;
LevyBest(5,find(LevyBest(5,:)==0))=-Inf;
LevyWorst(5,find(LevyWorst(5,:)==0))=-Inf;
LevyBest(6,find(LevyBest(6,:)==0))=-Inf;
LevyWorst(6,find(LevyWorst(6,:)==0))=-Inf;
LevyBest(7,find(LevyBest(7,:)==0))=-Inf;
LevyWorst(7,find(LevyWorst(7,:)==0))=-Inf;
LevyBest(8,find(LevyBest(8,:)==0))=-Inf;
LevyWorst(8,find(LevyWorst(8,:)==0))=-Inf;
LevyBest(9,find(LevyBest(9,:)==0))=-Inf;
LevyWorst(9,find(LevyWorst(9,:)==0))=-Inf;
LevyBest(10,find(LevyBest(10,:)==0))=-Inf;
LevyWorst(10,find(LevyWorst(10,:)==0))=-Inf;
LevyBest(11,find(LevyBest(11,:)==0))=-Inf;
LevyWorst(11,find(LevyWorst(11,:)==0))=-Inf;
LevyBest(12,find(LevyBest(12,:)==0))=-Inf;
LevyWorst(12,find(LevyWorst(12,:)==0))=-Inf;
LevyBest(13,find(LevyBest(13,:)==0))=-Inf;
LevyWorst(13,find(LevyWorst(13,:)==0))=-Inf;
LevyBest(14,find(LevyBest(14,:)==0))=-Inf;
LevyWorst(14,find(LevyWorst(14,:)==0))=-Inf;
LevyBest(15,find(LevyBest(15,:)==0))=-Inf;
LevyWorst(15,find(LevyWorst(15,:)==0))=-Inf;
LevyBest(16,find(LevyBest(16,:)==0))=-Inf;
LevyWorst(16,find(LevyWorst(16,:)==0))=-Inf;
LevyBest(17,find(LevyBest(17,:)==0))=-Inf;
LevyWorst(17,find(LevyWorst(17,:)==0))=-Inf;
LevyBest(18,find(LevyBest(18,:)==0))=-Inf;
LevyWorst(18,find(LevyWorst(18,:)==0))=-Inf;
LevyBest(19,find(LevyBest(19,:)==0))=-Inf;
LevyWorst(19,find(LevyWorst(19,:)==0))=-Inf;
Levy3Best(1,find(Levy3Best(1,:)==0))=-Inf;
Levy3Worst(1,find(Levy3Worst(1,:)==0))=-Inf;
Levy3Best(2,find(Levy3Best(2,:)==0))=-Inf;
Levy3Worst(2,find(Levy3Worst(2,:)==0))=-Inf;
Levy3Best(3,find(Levy3Best(3,:)==0))=-Inf;
Levy3Worst(3,find(Levy3Worst(3,:)==0))=-Inf;
Levy3Best(4,find(Levy3Best(4,:)==0))=-Inf;
Levy3Worst(4,find(Levy3Worst(4,:)==0))=-Inf;
Levy3Best(5,find(Levy3Best(5,:)==0))=-Inf;
Levy3Worst(5,find(Levy3Worst(5,:)==0))=-Inf;
Levy3Best(6,find(Levy3Best(6,:)==0))=-Inf;
Levy3Worst(6,find(Levy3Worst(6,:)==0))=-Inf;
Levy3Best(7,find(Levy3Best(7,:)==0))=-Inf;
Levy3Worst(7,find(Levy3Worst(7,:)==0))=-Inf;
Levy3Best(8,find(Levy3Best(8,:)==0))=-Inf;
Levy3Worst(8,find(Levy3Worst(8,:)==0))=-Inf;
Levy3Best(9,find(Levy3Best(9,:)==0))=-Inf;
Levy3Worst(9,find(Levy3Worst(9,:)==0))=-Inf;
Levy3Best(10,find(Levy3Best(10,:)==0))=-Inf;
Levy3Worst(10,find(Levy3Worst(10,:)==0))=-Inf;
Levy3Best(11,find(Levy3Best(11,:)==0))=-Inf;
Levy3Worst(11,find(Levy3Worst(11,:)==0))=-Inf;
Levy3Best(12,find(Levy3Best(12,:)==0))=-Inf;
Levy3Worst(12,find(Levy3Worst(12,:)==0))=-Inf;
Levy3Best(13,find(Levy3Best(13,:)==0))=-Inf;
Levy3Worst(13,find(Levy3Worst(13,:)==0))=-Inf;
Levy3Best(14,find(Levy3Best(14,:)==0))=-Inf;
Levy3Worst(14,find(Levy3Worst(14,:)==0))=-Inf;
Levy3Best(15,find(Levy3Best(15,:)==0))=-Inf;
Levy3Worst(15,find(Levy3Worst(15,:)==0))=-Inf;
Levy3Best(16,find(Levy3Best(16,:)==0))=-Inf;
Levy3Worst(16,find(Levy3Worst(16,:)==0))=-Inf;
Levy3Best(17,find(Levy3Best(17,:)==0))=-Inf;
Levy3Worst(17,find(Levy3Worst(17,:)==0))=-Inf;
Levy3Best(18,find(Levy3Best(18,:)==0))=-Inf;
Levy3Worst(18,find(Levy3Worst(18,:)==0))=-Inf;
Levy3Best(19,find(Levy3Best(19,:)==0))=-Inf;
Levy3Worst(19,find(Levy3Worst(19,:)==0))=-Inf;
Levy5Best(1,find(Levy5Best(1,:)==0))=-Inf;
Levy5Worst(1,find(Levy5Worst(1,:)==0))=-Inf;
Levy5Best(2,find(Levy5Best(2,:)==0))=-Inf;
Levy5Worst(2,find(Levy5Worst(2,:)==0))=-Inf;
Levy5Best(3,find(Levy5Best(3,:)==0))=-Inf;
Levy5Worst(3,find(Levy5Worst(3,:)==0))=-Inf;
Levy5Best(4,find(Levy5Best(4,:)==0))=-Inf;
Levy5Worst(4,find(Levy5Worst(4,:)==0))=-Inf;
Levy5Best(5,find(Levy5Best(5,:)==0))=-Inf;
Levy5Worst(5,find(Levy5Worst(5,:)==0))=-Inf;
Levy5Best(6,find(Levy5Best(6,:)==0))=-Inf;
Levy5Worst(6,find(Levy5Worst(6,:)==0))=-Inf;
Levy5Best(7,find(Levy5Best(7,:)==0))=-Inf;
Levy5Worst(7,find(Levy5Worst(7,:)==0))=-Inf;
Levy5Best(8,find(Levy5Best(8,:)==0))=-Inf;
Levy5Worst(8,find(Levy5Worst(8,:)==0))=-Inf;
Levy5Best(9,find(Levy5Best(9,:)==0))=-Inf;
Levy5Worst(9,find(Levy5Worst(9,:)==0))=-Inf;
Levy5Best(10,find(Levy5Best(10,:)==0))=-Inf;
Levy5Worst(10,find(Levy5Worst(10,:)==0))=-Inf;
Levy5Best(11,find(Levy5Best(11,:)==0))=-Inf;
Levy5Worst(11,find(Levy5Worst(11,:)==0))=-Inf;
Levy5Best(12,find(Levy5Best(12,:)==0))=-Inf;
Levy5Worst(12,find(Levy5Worst(12,:)==0))=-Inf;
Levy5Best(13,find(Levy5Best(13,:)==0))=-Inf;
Levy5Worst(13,find(Levy5Worst(13,:)==0))=-Inf;
Levy5Best(14,find(Levy5Best(14,:)==0))=-Inf;
Levy5Worst(14,find(Levy5Worst(14,:)==0))=-Inf;
Levy5Best(15,find(Levy5Best(15,:)==0))=-Inf;
Levy5Worst(15,find(Levy5Worst(15,:)==0))=-Inf;
Levy5Best(16,find(Levy5Best(16,:)==0))=-Inf;
Levy5Worst(16,find(Levy5Worst(16,:)==0))=-Inf;
Levy5Best(17,find(Levy5Best(17,:)==0))=-Inf;
Levy5Worst(17,find(Levy5Worst(17,:)==0))=-Inf;
Levy5Best(18,find(Levy5Best(18,:)==0))=-Inf;
Levy5Worst(18,find(Levy5Worst(18,:)==0))=-Inf;
Levy5Best(19,find(Levy5Best(19,:)==0))=-Inf;
Levy5Worst(19,find(Levy5Worst(19,:)==0))=-Inf;
MatyasBest(1,find(MatyasBest(1,:)==0))=-Inf;
MatyasWorst(1,find(MatyasWorst(1,:)==0))=-Inf;
MatyasBest(2,find(MatyasBest(2,:)==0))=-Inf;
MatyasWorst(2,find(MatyasWorst(2,:)==0))=-Inf;
MatyasBest(3,find(MatyasBest(3,:)==0))=-Inf;
MatyasWorst(3,find(MatyasWorst(3,:)==0))=-Inf;
MatyasBest(4,find(MatyasBest(4,:)==0))=-Inf;
MatyasWorst(4,find(MatyasWorst(4,:)==0))=-Inf;
MatyasBest(5,find(MatyasBest(5,:)==0))=-Inf;
MatyasWorst(5,find(MatyasWorst(5,:)==0))=-Inf;
MatyasBest(6,find(MatyasBest(6,:)==0))=-Inf;
MatyasWorst(6,find(MatyasWorst(6,:)==0))=-Inf;
MatyasBest(7,find(MatyasBest(7,:)==0))=-Inf;
MatyasWorst(7,find(MatyasWorst(7,:)==0))=-Inf;
MatyasBest(8,find(MatyasBest(8,:)==0))=-Inf;
MatyasWorst(8,find(MatyasWorst(8,:)==0))=-Inf;
MatyasBest(9,find(MatyasBest(9,:)==0))=-Inf;
MatyasWorst(9,find(MatyasWorst(9,:)==0))=-Inf;
MatyasBest(10,find(MatyasBest(10,:)==0))=-Inf;
MatyasWorst(10,find(MatyasWorst(10,:)==0))=-Inf;
MatyasBest(11,find(MatyasBest(11,:)==0))=-Inf;
MatyasWorst(11,find(MatyasWorst(11,:)==0))=-Inf;
MatyasBest(12,find(MatyasBest(12,:)==0))=-Inf;
MatyasWorst(12,find(MatyasWorst(12,:)==0))=-Inf;
MatyasBest(13,find(MatyasBest(13,:)==0))=-Inf;
MatyasWorst(13,find(MatyasWorst(13,:)==0))=-Inf;
MatyasBest(14,find(MatyasBest(14,:)==0))=-Inf;
MatyasWorst(14,find(MatyasWorst(14,:)==0))=-Inf;
MatyasBest(15,find(MatyasBest(15,:)==0))=-Inf;
MatyasWorst(15,find(MatyasWorst(15,:)==0))=-Inf;
MatyasBest(16,find(MatyasBest(16,:)==0))=-Inf;
MatyasWorst(16,find(MatyasWorst(16,:)==0))=-Inf;
MatyasBest(17,find(MatyasBest(17,:)==0))=-Inf;
MatyasWorst(17,find(MatyasWorst(17,:)==0))=-Inf;
MatyasBest(18,find(MatyasBest(18,:)==0))=-Inf;
MatyasWorst(18,find(MatyasWorst(18,:)==0))=-Inf;
MatyasBest(19,find(MatyasBest(19,:)==0))=-Inf;
MatyasWorst(19,find(MatyasWorst(19,:)==0))=-Inf;
MichalewiczBest(1,find(MichalewiczBest(1,:)==0))=-Inf;
MichalewiczWorst(1,find(MichalewiczWorst(1,:)==0))=-Inf;
MichalewiczBest(2,find(MichalewiczBest(2,:)==0))=-Inf;
MichalewiczWorst(2,find(MichalewiczWorst(2,:)==0))=-Inf;
MichalewiczBest(3,find(MichalewiczBest(3,:)==0))=-Inf;
MichalewiczWorst(3,find(MichalewiczWorst(3,:)==0))=-Inf;
MichalewiczBest(4,find(MichalewiczBest(4,:)==0))=-Inf;
MichalewiczWorst(4,find(MichalewiczWorst(4,:)==0))=-Inf;
MichalewiczBest(5,find(MichalewiczBest(5,:)==0))=-Inf;
MichalewiczWorst(5,find(MichalewiczWorst(5,:)==0))=-Inf;
MichalewiczBest(6,find(MichalewiczBest(6,:)==0))=-Inf;
MichalewiczWorst(6,find(MichalewiczWorst(6,:)==0))=-Inf;
MichalewiczBest(7,find(MichalewiczBest(7,:)==0))=-Inf;
MichalewiczWorst(7,find(MichalewiczWorst(7,:)==0))=-Inf;
MichalewiczBest(8,find(MichalewiczBest(8,:)==0))=-Inf;
MichalewiczWorst(8,find(MichalewiczWorst(8,:)==0))=-Inf;
MichalewiczBest(9,find(MichalewiczBest(9,:)==0))=-Inf;
MichalewiczWorst(9,find(MichalewiczWorst(9,:)==0))=-Inf;
MichalewiczBest(10,find(MichalewiczBest(10,:)==0))=-Inf;
MichalewiczWorst(10,find(MichalewiczWorst(10,:)==0))=-Inf;
MichalewiczBest(11,find(MichalewiczBest(11,:)==0))=-Inf;
MichalewiczWorst(11,find(MichalewiczWorst(11,:)==0))=-Inf;
MichalewiczBest(12,find(MichalewiczBest(12,:)==0))=-Inf;
MichalewiczWorst(12,find(MichalewiczWorst(12,:)==0))=-Inf;
MichalewiczBest(13,find(MichalewiczBest(13,:)==0))=-Inf;
MichalewiczWorst(13,find(MichalewiczWorst(13,:)==0))=-Inf;
MichalewiczBest(14,find(MichalewiczBest(14,:)==0))=-Inf;
MichalewiczWorst(14,find(MichalewiczWorst(14,:)==0))=-Inf;
MichalewiczBest(15,find(MichalewiczBest(15,:)==0))=-Inf;
MichalewiczWorst(15,find(MichalewiczWorst(15,:)==0))=-Inf;
MichalewiczBest(16,find(MichalewiczBest(16,:)==0))=-Inf;
MichalewiczWorst(16,find(MichalewiczWorst(16,:)==0))=-Inf;
MichalewiczBest(17,find(MichalewiczBest(17,:)==0))=-Inf;
MichalewiczWorst(17,find(MichalewiczWorst(17,:)==0))=-Inf;
MichalewiczBest(18,find(MichalewiczBest(18,:)==0))=-Inf;
MichalewiczWorst(18,find(MichalewiczWorst(18,:)==0))=-Inf;
MichalewiczBest(19,find(MichalewiczBest(19,:)==0))=-Inf;
MichalewiczWorst(19,find(MichalewiczWorst(19,:)==0))=-Inf;
PermBest(1,find(PermBest(1,:)==0))=-Inf;
PermWorst(1,find(PermWorst(1,:)==0))=-Inf;
PermBest(2,find(PermBest(2,:)==0))=-Inf;
PermWorst(2,find(PermWorst(2,:)==0))=-Inf;
PermBest(3,find(PermBest(3,:)==0))=-Inf;
PermWorst(3,find(PermWorst(3,:)==0))=-Inf;
PermBest(4,find(PermBest(4,:)==0))=-Inf;
PermWorst(4,find(PermWorst(4,:)==0))=-Inf;
PermBest(5,find(PermBest(5,:)==0))=-Inf;
PermWorst(5,find(PermWorst(5,:)==0))=-Inf;
PermBest(6,find(PermBest(6,:)==0))=-Inf;
PermWorst(6,find(PermWorst(6,:)==0))=-Inf;
PermBest(7,find(PermBest(7,:)==0))=-Inf;
PermWorst(7,find(PermWorst(7,:)==0))=-Inf;
PermBest(8,find(PermBest(8,:)==0))=-Inf;
PermWorst(8,find(PermWorst(8,:)==0))=-Inf;
PermBest(9,find(PermBest(9,:)==0))=-Inf;
PermWorst(9,find(PermWorst(9,:)==0))=-Inf;
PermBest(10,find(PermBest(10,:)==0))=-Inf;
PermWorst(10,find(PermWorst(10,:)==0))=-Inf;
PermBest(11,find(PermBest(11,:)==0))=-Inf;
PermWorst(11,find(PermWorst(11,:)==0))=-Inf;
PermBest(12,find(PermBest(12,:)==0))=-Inf;
PermWorst(12,find(PermWorst(12,:)==0))=-Inf;
PermBest(13,find(PermBest(13,:)==0))=-Inf;
PermWorst(13,find(PermWorst(13,:)==0))=-Inf;
PermBest(14,find(PermBest(14,:)==0))=-Inf;
PermWorst(14,find(PermWorst(14,:)==0))=-Inf;
PermBest(15,find(PermBest(15,:)==0))=-Inf;
PermWorst(15,find(PermWorst(15,:)==0))=-Inf;
PermBest(16,find(PermBest(16,:)==0))=-Inf;
PermWorst(16,find(PermWorst(16,:)==0))=-Inf;
PermBest(17,find(PermBest(17,:)==0))=-Inf;
PermWorst(17,find(PermWorst(17,:)==0))=-Inf;
PermBest(18,find(PermBest(18,:)==0))=-Inf;
PermWorst(18,find(PermWorst(18,:)==0))=-Inf;
PermBest(19,find(PermBest(19,:)==0))=-Inf;
PermWorst(19,find(PermWorst(19,:)==0))=-Inf;
PowellBest(1,find(PowellBest(1,:)==0))=-Inf;
PowellWorst(1,find(PowellWorst(1,:)==0))=-Inf;
PowellBest(2,find(PowellBest(2,:)==0))=-Inf;
PowellWorst(2,find(PowellWorst(2,:)==0))=-Inf;
PowellBest(3,find(PowellBest(3,:)==0))=-Inf;
PowellWorst(3,find(PowellWorst(3,:)==0))=-Inf;
PowellBest(4,find(PowellBest(4,:)==0))=-Inf;
PowellWorst(4,find(PowellWorst(4,:)==0))=-Inf;
PowellBest(5,find(PowellBest(5,:)==0))=-Inf;
PowellWorst(5,find(PowellWorst(5,:)==0))=-Inf;
PowellBest(6,find(PowellBest(6,:)==0))=-Inf;
PowellWorst(6,find(PowellWorst(6,:)==0))=-Inf;
PowellBest(7,find(PowellBest(7,:)==0))=-Inf;
PowellWorst(7,find(PowellWorst(7,:)==0))=-Inf;
PowellBest(8,find(PowellBest(8,:)==0))=-Inf;
PowellWorst(8,find(PowellWorst(8,:)==0))=-Inf;
PowellBest(9,find(PowellBest(9,:)==0))=-Inf;
PowellWorst(9,find(PowellWorst(9,:)==0))=-Inf;
PowellBest(10,find(PowellBest(10,:)==0))=-Inf;
PowellWorst(10,find(PowellWorst(10,:)==0))=-Inf;
PowellBest(11,find(PowellBest(11,:)==0))=-Inf;
PowellWorst(11,find(PowellWorst(11,:)==0))=-Inf;
PowellBest(12,find(PowellBest(12,:)==0))=-Inf;
PowellWorst(12,find(PowellWorst(12,:)==0))=-Inf;
PowellBest(13,find(PowellBest(13,:)==0))=-Inf;
PowellWorst(13,find(PowellWorst(13,:)==0))=-Inf;
PowellBest(14,find(PowellBest(14,:)==0))=-Inf;
PowellWorst(14,find(PowellWorst(14,:)==0))=-Inf;
PowellBest(15,find(PowellBest(15,:)==0))=-Inf;
PowellWorst(15,find(PowellWorst(15,:)==0))=-Inf;
PowellBest(16,find(PowellBest(16,:)==0))=-Inf;
PowellWorst(16,find(PowellWorst(16,:)==0))=-Inf;
PowellBest(17,find(PowellBest(17,:)==0))=-Inf;
PowellWorst(17,find(PowellWorst(17,:)==0))=-Inf;
PowellBest(18,find(PowellBest(18,:)==0))=-Inf;
PowellWorst(18,find(PowellWorst(18,:)==0))=-Inf;
PowellBest(19,find(PowellBest(19,:)==0))=-Inf;
PowellWorst(19,find(PowellWorst(19,:)==0))=-Inf;
PowerSumBest(1,find(PowerSumBest(1,:)==0))=-Inf;
PowerSumWorst(1,find(PowerSumWorst(1,:)==0))=-Inf;
PowerSumBest(2,find(PowerSumBest(2,:)==0))=-Inf;
PowerSumWorst(2,find(PowerSumWorst(2,:)==0))=-Inf;
PowerSumBest(3,find(PowerSumBest(3,:)==0))=-Inf;
PowerSumWorst(3,find(PowerSumWorst(3,:)==0))=-Inf;
PowerSumBest(4,find(PowerSumBest(4,:)==0))=-Inf;
PowerSumWorst(4,find(PowerSumWorst(4,:)==0))=-Inf;
PowerSumBest(5,find(PowerSumBest(5,:)==0))=-Inf;
PowerSumWorst(5,find(PowerSumWorst(5,:)==0))=-Inf;
PowerSumBest(6,find(PowerSumBest(6,:)==0))=-Inf;
PowerSumWorst(6,find(PowerSumWorst(6,:)==0))=-Inf;
PowerSumBest(7,find(PowerSumBest(7,:)==0))=-Inf;
PowerSumWorst(7,find(PowerSumWorst(7,:)==0))=-Inf;
PowerSumBest(8,find(PowerSumBest(8,:)==0))=-Inf;
PowerSumWorst(8,find(PowerSumWorst(8,:)==0))=-Inf;
PowerSumBest(9,find(PowerSumBest(9,:)==0))=-Inf;
PowerSumWorst(9,find(PowerSumWorst(9,:)==0))=-Inf;
PowerSumBest(10,find(PowerSumBest(10,:)==0))=-Inf;
PowerSumWorst(10,find(PowerSumWorst(10,:)==0))=-Inf;
PowerSumBest(11,find(PowerSumBest(11,:)==0))=-Inf;
PowerSumWorst(11,find(PowerSumWorst(11,:)==0))=-Inf;
PowerSumBest(12,find(PowerSumBest(12,:)==0))=-Inf;
PowerSumWorst(12,find(PowerSumWorst(12,:)==0))=-Inf;
PowerSumBest(13,find(PowerSumBest(13,:)==0))=-Inf;
PowerSumWorst(13,find(PowerSumWorst(13,:)==0))=-Inf;
PowerSumBest(14,find(PowerSumBest(14,:)==0))=-Inf;
PowerSumWorst(14,find(PowerSumWorst(14,:)==0))=-Inf;
PowerSumBest(15,find(PowerSumBest(15,:)==0))=-Inf;
PowerSumWorst(15,find(PowerSumWorst(15,:)==0))=-Inf;
PowerSumBest(16,find(PowerSumBest(16,:)==0))=-Inf;
PowerSumWorst(16,find(PowerSumWorst(16,:)==0))=-Inf;
PowerSumBest(17,find(PowerSumBest(17,:)==0))=-Inf;
PowerSumWorst(17,find(PowerSumWorst(17,:)==0))=-Inf;
PowerSumBest(18,find(PowerSumBest(18,:)==0))=-Inf;
PowerSumWorst(18,find(PowerSumWorst(18,:)==0))=-Inf;
PowerSumBest(19,find(PowerSumBest(19,:)==0))=-Inf;
PowerSumWorst(19,find(PowerSumWorst(19,:)==0))=-Inf;
RanaBest(1,find(RanaBest(1,:)==0))=-Inf;
RanaWorst(1,find(RanaWorst(1,:)==0))=-Inf;
RanaBest(2,find(RanaBest(2,:)==0))=-Inf;
RanaWorst(2,find(RanaWorst(2,:)==0))=-Inf;
RanaBest(3,find(RanaBest(3,:)==0))=-Inf;
RanaWorst(3,find(RanaWorst(3,:)==0))=-Inf;
RanaBest(4,find(RanaBest(4,:)==0))=-Inf;
RanaWorst(4,find(RanaWorst(4,:)==0))=-Inf;
RanaBest(5,find(RanaBest(5,:)==0))=-Inf;
RanaWorst(5,find(RanaWorst(5,:)==0))=-Inf;
RanaBest(6,find(RanaBest(6,:)==0))=-Inf;
RanaWorst(6,find(RanaWorst(6,:)==0))=-Inf;
RanaBest(7,find(RanaBest(7,:)==0))=-Inf;
RanaWorst(7,find(RanaWorst(7,:)==0))=-Inf;
RanaBest(8,find(RanaBest(8,:)==0))=-Inf;
RanaWorst(8,find(RanaWorst(8,:)==0))=-Inf;
RanaBest(9,find(RanaBest(9,:)==0))=-Inf;
RanaWorst(9,find(RanaWorst(9,:)==0))=-Inf;
RanaBest(10,find(RanaBest(10,:)==0))=-Inf;
RanaWorst(10,find(RanaWorst(10,:)==0))=-Inf;
RanaBest(11,find(RanaBest(11,:)==0))=-Inf;
RanaWorst(11,find(RanaWorst(11,:)==0))=-Inf;
RanaBest(12,find(RanaBest(12,:)==0))=-Inf;
RanaWorst(12,find(RanaWorst(12,:)==0))=-Inf;
RanaBest(13,find(RanaBest(13,:)==0))=-Inf;
RanaWorst(13,find(RanaWorst(13,:)==0))=-Inf;
RanaBest(14,find(RanaBest(14,:)==0))=-Inf;
RanaWorst(14,find(RanaWorst(14,:)==0))=-Inf;
RanaBest(15,find(RanaBest(15,:)==0))=-Inf;
RanaWorst(15,find(RanaWorst(15,:)==0))=-Inf;
RanaBest(16,find(RanaBest(16,:)==0))=-Inf;
RanaWorst(16,find(RanaWorst(16,:)==0))=-Inf;
RanaBest(17,find(RanaBest(17,:)==0))=-Inf;
RanaWorst(17,find(RanaWorst(17,:)==0))=-Inf;
RanaBest(18,find(RanaBest(18,:)==0))=-Inf;
RanaWorst(18,find(RanaWorst(18,:)==0))=-Inf;
RanaBest(19,find(RanaBest(19,:)==0))=-Inf;
RanaWorst(19,find(RanaWorst(19,:)==0))=-Inf;
RastriginBest(1,find(RastriginBest(1,:)==0))=-Inf;
RastriginWorst(1,find(RastriginWorst(1,:)==0))=-Inf;
RastriginBest(2,find(RastriginBest(2,:)==0))=-Inf;
RastriginWorst(2,find(RastriginWorst(2,:)==0))=-Inf;
RastriginBest(3,find(RastriginBest(3,:)==0))=-Inf;
RastriginWorst(3,find(RastriginWorst(3,:)==0))=-Inf;
RastriginBest(4,find(RastriginBest(4,:)==0))=-Inf;
RastriginWorst(4,find(RastriginWorst(4,:)==0))=-Inf;
RastriginBest(5,find(RastriginBest(5,:)==0))=-Inf;
RastriginWorst(5,find(RastriginWorst(5,:)==0))=-Inf;
RastriginBest(6,find(RastriginBest(6,:)==0))=-Inf;
RastriginWorst(6,find(RastriginWorst(6,:)==0))=-Inf;
RastriginBest(7,find(RastriginBest(7,:)==0))=-Inf;
RastriginWorst(7,find(RastriginWorst(7,:)==0))=-Inf;
RastriginBest(8,find(RastriginBest(8,:)==0))=-Inf;
RastriginWorst(8,find(RastriginWorst(8,:)==0))=-Inf;
RastriginBest(9,find(RastriginBest(9,:)==0))=-Inf;
RastriginWorst(9,find(RastriginWorst(9,:)==0))=-Inf;
RastriginBest(10,find(RastriginBest(10,:)==0))=-Inf;
RastriginWorst(10,find(RastriginWorst(10,:)==0))=-Inf;
RastriginBest(11,find(RastriginBest(11,:)==0))=-Inf;
RastriginWorst(11,find(RastriginWorst(11,:)==0))=-Inf;
RastriginBest(12,find(RastriginBest(12,:)==0))=-Inf;
RastriginWorst(12,find(RastriginWorst(12,:)==0))=-Inf;
RastriginBest(13,find(RastriginBest(13,:)==0))=-Inf;
RastriginWorst(13,find(RastriginWorst(13,:)==0))=-Inf;
RastriginBest(14,find(RastriginBest(14,:)==0))=-Inf;
RastriginWorst(14,find(RastriginWorst(14,:)==0))=-Inf;
RastriginBest(15,find(RastriginBest(15,:)==0))=-Inf;
RastriginWorst(15,find(RastriginWorst(15,:)==0))=-Inf;
RastriginBest(16,find(RastriginBest(16,:)==0))=-Inf;
RastriginWorst(16,find(RastriginWorst(16,:)==0))=-Inf;
RastriginBest(17,find(RastriginBest(17,:)==0))=-Inf;
RastriginWorst(17,find(RastriginWorst(17,:)==0))=-Inf;
RastriginBest(18,find(RastriginBest(18,:)==0))=-Inf;
RastriginWorst(18,find(RastriginWorst(18,:)==0))=-Inf;
RastriginBest(19,find(RastriginBest(19,:)==0))=-Inf;
RastriginWorst(19,find(RastriginWorst(19,:)==0))=-Inf;
RosenbrockBest(1,find(RosenbrockBest(1,:)==0))=-Inf;
RosenbrockWorst(1,find(RosenbrockWorst(1,:)==0))=-Inf;
RosenbrockBest(2,find(RosenbrockBest(2,:)==0))=-Inf;
RosenbrockWorst(2,find(RosenbrockWorst(2,:)==0))=-Inf;
RosenbrockBest(3,find(RosenbrockBest(3,:)==0))=-Inf;
RosenbrockWorst(3,find(RosenbrockWorst(3,:)==0))=-Inf;
RosenbrockBest(4,find(RosenbrockBest(4,:)==0))=-Inf;
RosenbrockWorst(4,find(RosenbrockWorst(4,:)==0))=-Inf;
RosenbrockBest(5,find(RosenbrockBest(5,:)==0))=-Inf;
RosenbrockWorst(5,find(RosenbrockWorst(5,:)==0))=-Inf;
RosenbrockBest(6,find(RosenbrockBest(6,:)==0))=-Inf;
RosenbrockWorst(6,find(RosenbrockWorst(6,:)==0))=-Inf;
RosenbrockBest(7,find(RosenbrockBest(7,:)==0))=-Inf;
RosenbrockWorst(7,find(RosenbrockWorst(7,:)==0))=-Inf;
RosenbrockBest(8,find(RosenbrockBest(8,:)==0))=-Inf;
RosenbrockWorst(8,find(RosenbrockWorst(8,:)==0))=-Inf;
RosenbrockBest(9,find(RosenbrockBest(9,:)==0))=-Inf;
RosenbrockWorst(9,find(RosenbrockWorst(9,:)==0))=-Inf;
RosenbrockBest(10,find(RosenbrockBest(10,:)==0))=-Inf;
RosenbrockWorst(10,find(RosenbrockWorst(10,:)==0))=-Inf;
RosenbrockBest(11,find(RosenbrockBest(11,:)==0))=-Inf;
RosenbrockWorst(11,find(RosenbrockWorst(11,:)==0))=-Inf;
RosenbrockBest(12,find(RosenbrockBest(12,:)==0))=-Inf;
RosenbrockWorst(12,find(RosenbrockWorst(12,:)==0))=-Inf;
RosenbrockBest(13,find(RosenbrockBest(13,:)==0))=-Inf;
RosenbrockWorst(13,find(RosenbrockWorst(13,:)==0))=-Inf;
RosenbrockBest(14,find(RosenbrockBest(14,:)==0))=-Inf;
RosenbrockWorst(14,find(RosenbrockWorst(14,:)==0))=-Inf;
RosenbrockBest(15,find(RosenbrockBest(15,:)==0))=-Inf;
RosenbrockWorst(15,find(RosenbrockWorst(15,:)==0))=-Inf;
RosenbrockBest(16,find(RosenbrockBest(16,:)==0))=-Inf;
RosenbrockWorst(16,find(RosenbrockWorst(16,:)==0))=-Inf;
RosenbrockBest(17,find(RosenbrockBest(17,:)==0))=-Inf;
RosenbrockWorst(17,find(RosenbrockWorst(17,:)==0))=-Inf;
RosenbrockBest(18,find(RosenbrockBest(18,:)==0))=-Inf;
RosenbrockWorst(18,find(RosenbrockWorst(18,:)==0))=-Inf;
RosenbrockBest(19,find(RosenbrockBest(19,:)==0))=-Inf;
RosenbrockWorst(19,find(RosenbrockWorst(19,:)==0))=-Inf;
SchwefelBest(1,find(SchwefelBest(1,:)==0))=-Inf;
SchwefelWorst(1,find(SchwefelWorst(1,:)==0))=-Inf;
SchwefelBest(2,find(SchwefelBest(2,:)==0))=-Inf;
SchwefelWorst(2,find(SchwefelWorst(2,:)==0))=-Inf;
SchwefelBest(3,find(SchwefelBest(3,:)==0))=-Inf;
SchwefelWorst(3,find(SchwefelWorst(3,:)==0))=-Inf;
SchwefelBest(4,find(SchwefelBest(4,:)==0))=-Inf;
SchwefelWorst(4,find(SchwefelWorst(4,:)==0))=-Inf;
SchwefelBest(5,find(SchwefelBest(5,:)==0))=-Inf;
SchwefelWorst(5,find(SchwefelWorst(5,:)==0))=-Inf;
SchwefelBest(6,find(SchwefelBest(6,:)==0))=-Inf;
SchwefelWorst(6,find(SchwefelWorst(6,:)==0))=-Inf;
SchwefelBest(7,find(SchwefelBest(7,:)==0))=-Inf;
SchwefelWorst(7,find(SchwefelWorst(7,:)==0))=-Inf;
SchwefelBest(8,find(SchwefelBest(8,:)==0))=-Inf;
SchwefelWorst(8,find(SchwefelWorst(8,:)==0))=-Inf;
SchwefelBest(9,find(SchwefelBest(9,:)==0))=-Inf;
SchwefelWorst(9,find(SchwefelWorst(9,:)==0))=-Inf;
SchwefelBest(10,find(SchwefelBest(10,:)==0))=-Inf;
SchwefelWorst(10,find(SchwefelWorst(10,:)==0))=-Inf;
SchwefelBest(11,find(SchwefelBest(11,:)==0))=-Inf;
SchwefelWorst(11,find(SchwefelWorst(11,:)==0))=-Inf;
SchwefelBest(12,find(SchwefelBest(12,:)==0))=-Inf;
SchwefelWorst(12,find(SchwefelWorst(12,:)==0))=-Inf;
SchwefelBest(13,find(SchwefelBest(13,:)==0))=-Inf;
SchwefelWorst(13,find(SchwefelWorst(13,:)==0))=-Inf;
SchwefelBest(14,find(SchwefelBest(14,:)==0))=-Inf;
SchwefelWorst(14,find(SchwefelWorst(14,:)==0))=-Inf;
SchwefelBest(15,find(SchwefelBest(15,:)==0))=-Inf;
SchwefelWorst(15,find(SchwefelWorst(15,:)==0))=-Inf;
SchwefelBest(16,find(SchwefelBest(16,:)==0))=-Inf;
SchwefelWorst(16,find(SchwefelWorst(16,:)==0))=-Inf;
SchwefelBest(17,find(SchwefelBest(17,:)==0))=-Inf;
SchwefelWorst(17,find(SchwefelWorst(17,:)==0))=-Inf;
SchwefelBest(18,find(SchwefelBest(18,:)==0))=-Inf;
SchwefelWorst(18,find(SchwefelWorst(18,:)==0))=-Inf;
SchwefelBest(19,find(SchwefelBest(19,:)==0))=-Inf;
SchwefelWorst(19,find(SchwefelWorst(19,:)==0))=-Inf;
ShekelBest(1,find(ShekelBest(1,:)==0))=-Inf;
ShekelWorst(1,find(ShekelWorst(1,:)==0))=-Inf;
ShekelBest(2,find(ShekelBest(2,:)==0))=-Inf;
ShekelWorst(2,find(ShekelWorst(2,:)==0))=-Inf;
ShekelBest(3,find(ShekelBest(3,:)==0))=-Inf;
ShekelWorst(3,find(ShekelWorst(3,:)==0))=-Inf;
ShekelBest(4,find(ShekelBest(4,:)==0))=-Inf;
ShekelWorst(4,find(ShekelWorst(4,:)==0))=-Inf;
ShekelBest(5,find(ShekelBest(5,:)==0))=-Inf;
ShekelWorst(5,find(ShekelWorst(5,:)==0))=-Inf;
ShekelBest(6,find(ShekelBest(6,:)==0))=-Inf;
ShekelWorst(6,find(ShekelWorst(6,:)==0))=-Inf;
ShekelBest(7,find(ShekelBest(7,:)==0))=-Inf;
ShekelWorst(7,find(ShekelWorst(7,:)==0))=-Inf;
ShekelBest(8,find(ShekelBest(8,:)==0))=-Inf;
ShekelWorst(8,find(ShekelWorst(8,:)==0))=-Inf;
ShekelBest(9,find(ShekelBest(9,:)==0))=-Inf;
ShekelWorst(9,find(ShekelWorst(9,:)==0))=-Inf;
ShekelBest(10,find(ShekelBest(10,:)==0))=-Inf;
ShekelWorst(10,find(ShekelWorst(10,:)==0))=-Inf;
ShekelBest(11,find(ShekelBest(11,:)==0))=-Inf;
ShekelWorst(11,find(ShekelWorst(11,:)==0))=-Inf;
ShekelBest(12,find(ShekelBest(12,:)==0))=-Inf;
ShekelWorst(12,find(ShekelWorst(12,:)==0))=-Inf;
ShekelBest(13,find(ShekelBest(13,:)==0))=-Inf;
ShekelWorst(13,find(ShekelWorst(13,:)==0))=-Inf;
ShekelBest(14,find(ShekelBest(14,:)==0))=-Inf;
ShekelWorst(14,find(ShekelWorst(14,:)==0))=-Inf;
ShekelBest(15,find(ShekelBest(15,:)==0))=-Inf;
ShekelWorst(15,find(ShekelWorst(15,:)==0))=-Inf;
ShekelBest(16,find(ShekelBest(16,:)==0))=-Inf;
ShekelWorst(16,find(ShekelWorst(16,:)==0))=-Inf;
ShekelBest(17,find(ShekelBest(17,:)==0))=-Inf;
ShekelWorst(17,find(ShekelWorst(17,:)==0))=-Inf;
ShekelBest(18,find(ShekelBest(18,:)==0))=-Inf;
ShekelWorst(18,find(ShekelWorst(18,:)==0))=-Inf;
ShekelBest(19,find(ShekelBest(19,:)==0))=-Inf;
ShekelWorst(19,find(ShekelWorst(19,:)==0))=-Inf;
ShubertBest(1,find(ShubertBest(1,:)==0))=-Inf;
ShubertWorst(1,find(ShubertWorst(1,:)==0))=-Inf;
ShubertBest(2,find(ShubertBest(2,:)==0))=-Inf;
ShubertWorst(2,find(ShubertWorst(2,:)==0))=-Inf;
ShubertBest(3,find(ShubertBest(3,:)==0))=-Inf;
ShubertWorst(3,find(ShubertWorst(3,:)==0))=-Inf;
ShubertBest(4,find(ShubertBest(4,:)==0))=-Inf;
ShubertWorst(4,find(ShubertWorst(4,:)==0))=-Inf;
ShubertBest(5,find(ShubertBest(5,:)==0))=-Inf;
ShubertWorst(5,find(ShubertWorst(5,:)==0))=-Inf;
ShubertBest(6,find(ShubertBest(6,:)==0))=-Inf;
ShubertWorst(6,find(ShubertWorst(6,:)==0))=-Inf;
ShubertBest(7,find(ShubertBest(7,:)==0))=-Inf;
ShubertWorst(7,find(ShubertWorst(7,:)==0))=-Inf;
ShubertBest(8,find(ShubertBest(8,:)==0))=-Inf;
ShubertWorst(8,find(ShubertWorst(8,:)==0))=-Inf;
ShubertBest(9,find(ShubertBest(9,:)==0))=-Inf;
ShubertWorst(9,find(ShubertWorst(9,:)==0))=-Inf;
ShubertBest(10,find(ShubertBest(10,:)==0))=-Inf;
ShubertWorst(10,find(ShubertWorst(10,:)==0))=-Inf;
ShubertBest(11,find(ShubertBest(11,:)==0))=-Inf;
ShubertWorst(11,find(ShubertWorst(11,:)==0))=-Inf;
ShubertBest(12,find(ShubertBest(12,:)==0))=-Inf;
ShubertWorst(12,find(ShubertWorst(12,:)==0))=-Inf;
ShubertBest(13,find(ShubertBest(13,:)==0))=-Inf;
ShubertWorst(13,find(ShubertWorst(13,:)==0))=-Inf;
ShubertBest(14,find(ShubertBest(14,:)==0))=-Inf;
ShubertWorst(14,find(ShubertWorst(14,:)==0))=-Inf;
ShubertBest(15,find(ShubertBest(15,:)==0))=-Inf;
ShubertWorst(15,find(ShubertWorst(15,:)==0))=-Inf;
ShubertBest(16,find(ShubertBest(16,:)==0))=-Inf;
ShubertWorst(16,find(ShubertWorst(16,:)==0))=-Inf;
ShubertBest(17,find(ShubertBest(17,:)==0))=-Inf;
ShubertWorst(17,find(ShubertWorst(17,:)==0))=-Inf;
ShubertBest(18,find(ShubertBest(18,:)==0))=-Inf;
ShubertWorst(18,find(ShubertWorst(18,:)==0))=-Inf;
ShubertBest(19,find(ShubertBest(19,:)==0))=-Inf;
ShubertWorst(19,find(ShubertWorst(19,:)==0))=-Inf;
SphereBest(1,find(SphereBest(1,:)==0))=-Inf;
SphereWorst(1,find(SphereWorst(1,:)==0))=-Inf;
SphereBest(2,find(SphereBest(2,:)==0))=-Inf;
SphereWorst(2,find(SphereWorst(2,:)==0))=-Inf;
SphereBest(3,find(SphereBest(3,:)==0))=-Inf;
SphereWorst(3,find(SphereWorst(3,:)==0))=-Inf;
SphereBest(4,find(SphereBest(4,:)==0))=-Inf;
SphereWorst(4,find(SphereWorst(4,:)==0))=-Inf;
SphereBest(5,find(SphereBest(5,:)==0))=-Inf;
SphereWorst(5,find(SphereWorst(5,:)==0))=-Inf;
SphereBest(6,find(SphereBest(6,:)==0))=-Inf;
SphereWorst(6,find(SphereWorst(6,:)==0))=-Inf;
SphereBest(7,find(SphereBest(7,:)==0))=-Inf;
SphereWorst(7,find(SphereWorst(7,:)==0))=-Inf;
SphereBest(8,find(SphereBest(8,:)==0))=-Inf;
SphereWorst(8,find(SphereWorst(8,:)==0))=-Inf;
SphereBest(9,find(SphereBest(9,:)==0))=-Inf;
SphereWorst(9,find(SphereWorst(9,:)==0))=-Inf;
SphereBest(10,find(SphereBest(10,:)==0))=-Inf;
SphereWorst(10,find(SphereWorst(10,:)==0))=-Inf;
SphereBest(11,find(SphereBest(11,:)==0))=-Inf;
SphereWorst(11,find(SphereWorst(11,:)==0))=-Inf;
SphereBest(12,find(SphereBest(12,:)==0))=-Inf;
SphereWorst(12,find(SphereWorst(12,:)==0))=-Inf;
SphereBest(13,find(SphereBest(13,:)==0))=-Inf;
SphereWorst(13,find(SphereWorst(13,:)==0))=-Inf;
SphereBest(14,find(SphereBest(14,:)==0))=-Inf;
SphereWorst(14,find(SphereWorst(14,:)==0))=-Inf;
SphereBest(15,find(SphereBest(15,:)==0))=-Inf;
SphereWorst(15,find(SphereWorst(15,:)==0))=-Inf;
SphereBest(16,find(SphereBest(16,:)==0))=-Inf;
SphereWorst(16,find(SphereWorst(16,:)==0))=-Inf;
SphereBest(17,find(SphereBest(17,:)==0))=-Inf;
SphereWorst(17,find(SphereWorst(17,:)==0))=-Inf;
SphereBest(18,find(SphereBest(18,:)==0))=-Inf;
SphereWorst(18,find(SphereWorst(18,:)==0))=-Inf;
SphereBest(19,find(SphereBest(19,:)==0))=-Inf;
SphereWorst(19,find(SphereWorst(19,:)==0))=-Inf;
TridBest(1,find(TridBest(1,:)==0))=-Inf;
TridWorst(1,find(TridWorst(1,:)==0))=-Inf;
TridBest(2,find(TridBest(2,:)==0))=-Inf;
TridWorst(2,find(TridWorst(2,:)==0))=-Inf;
TridBest(3,find(TridBest(3,:)==0))=-Inf;
TridWorst(3,find(TridWorst(3,:)==0))=-Inf;
TridBest(4,find(TridBest(4,:)==0))=-Inf;
TridWorst(4,find(TridWorst(4,:)==0))=-Inf;
TridBest(5,find(TridBest(5,:)==0))=-Inf;
TridWorst(5,find(TridWorst(5,:)==0))=-Inf;
TridBest(6,find(TridBest(6,:)==0))=-Inf;
TridWorst(6,find(TridWorst(6,:)==0))=-Inf;
TridBest(7,find(TridBest(7,:)==0))=-Inf;
TridWorst(7,find(TridWorst(7,:)==0))=-Inf;
TridBest(8,find(TridBest(8,:)==0))=-Inf;
TridWorst(8,find(TridWorst(8,:)==0))=-Inf;
TridBest(9,find(TridBest(9,:)==0))=-Inf;
TridWorst(9,find(TridWorst(9,:)==0))=-Inf;
TridBest(10,find(TridBest(10,:)==0))=-Inf;
TridWorst(10,find(TridWorst(10,:)==0))=-Inf;
TridBest(11,find(TridBest(11,:)==0))=-Inf;
TridWorst(11,find(TridWorst(11,:)==0))=-Inf;
TridBest(12,find(TridBest(12,:)==0))=-Inf;
TridWorst(12,find(TridWorst(12,:)==0))=-Inf;
TridBest(13,find(TridBest(13,:)==0))=-Inf;
TridWorst(13,find(TridWorst(13,:)==0))=-Inf;
TridBest(14,find(TridBest(14,:)==0))=-Inf;
TridWorst(14,find(TridWorst(14,:)==0))=-Inf;
TridBest(15,find(TridBest(15,:)==0))=-Inf;
TridWorst(15,find(TridWorst(15,:)==0))=-Inf;
TridBest(16,find(TridBest(16,:)==0))=-Inf;
TridWorst(16,find(TridWorst(16,:)==0))=-Inf;
TridBest(17,find(TridBest(17,:)==0))=-Inf;
TridWorst(17,find(TridWorst(17,:)==0))=-Inf;
TridBest(18,find(TridBest(18,:)==0))=-Inf;
TridWorst(18,find(TridWorst(18,:)==0))=-Inf;
TridBest(19,find(TridBest(19,:)==0))=-Inf;
TridWorst(19,find(TridWorst(19,:)==0))=-Inf;
WhitleyBest(1,find(WhitleyBest(1,:)==0))=-Inf;
WhitleyWorst(1,find(WhitleyWorst(1,:)==0))=-Inf;
WhitleyBest(2,find(WhitleyBest(2,:)==0))=-Inf;
WhitleyWorst(2,find(WhitleyWorst(2,:)==0))=-Inf;
WhitleyBest(3,find(WhitleyBest(3,:)==0))=-Inf;
WhitleyWorst(3,find(WhitleyWorst(3,:)==0))=-Inf;
WhitleyBest(4,find(WhitleyBest(4,:)==0))=-Inf;
WhitleyWorst(4,find(WhitleyWorst(4,:)==0))=-Inf;
WhitleyBest(5,find(WhitleyBest(5,:)==0))=-Inf;
WhitleyWorst(5,find(WhitleyWorst(5,:)==0))=-Inf;
WhitleyBest(6,find(WhitleyBest(6,:)==0))=-Inf;
WhitleyWorst(6,find(WhitleyWorst(6,:)==0))=-Inf;
WhitleyBest(7,find(WhitleyBest(7,:)==0))=-Inf;
WhitleyWorst(7,find(WhitleyWorst(7,:)==0))=-Inf;
WhitleyBest(8,find(WhitleyBest(8,:)==0))=-Inf;
WhitleyWorst(8,find(WhitleyWorst(8,:)==0))=-Inf;
WhitleyBest(9,find(WhitleyBest(9,:)==0))=-Inf;
WhitleyWorst(9,find(WhitleyWorst(9,:)==0))=-Inf;
WhitleyBest(10,find(WhitleyBest(10,:)==0))=-Inf;
WhitleyWorst(10,find(WhitleyWorst(10,:)==0))=-Inf;
WhitleyBest(11,find(WhitleyBest(11,:)==0))=-Inf;
WhitleyWorst(11,find(WhitleyWorst(11,:)==0))=-Inf;
WhitleyBest(12,find(WhitleyBest(12,:)==0))=-Inf;
WhitleyWorst(12,find(WhitleyWorst(12,:)==0))=-Inf;
WhitleyBest(13,find(WhitleyBest(13,:)==0))=-Inf;
WhitleyWorst(13,find(WhitleyWorst(13,:)==0))=-Inf;
WhitleyBest(14,find(WhitleyBest(14,:)==0))=-Inf;
WhitleyWorst(14,find(WhitleyWorst(14,:)==0))=-Inf;
WhitleyBest(15,find(WhitleyBest(15,:)==0))=-Inf;
WhitleyWorst(15,find(WhitleyWorst(15,:)==0))=-Inf;
WhitleyBest(16,find(WhitleyBest(16,:)==0))=-Inf;
WhitleyWorst(16,find(WhitleyWorst(16,:)==0))=-Inf;
WhitleyBest(17,find(WhitleyBest(17,:)==0))=-Inf;
WhitleyWorst(17,find(WhitleyWorst(17,:)==0))=-Inf;
WhitleyBest(18,find(WhitleyBest(18,:)==0))=-Inf;
WhitleyWorst(18,find(WhitleyWorst(18,:)==0))=-Inf;
WhitleyBest(19,find(WhitleyBest(19,:)==0))=-Inf;
WhitleyWorst(19,find(WhitleyWorst(19,:)==0))=-Inf;
ZakharovBest(1,find(ZakharovBest(1,:)==0))=-Inf;
ZakharovWorst(1,find(ZakharovWorst(1,:)==0))=-Inf;
ZakharovBest(2,find(ZakharovBest(2,:)==0))=-Inf;
ZakharovWorst(2,find(ZakharovWorst(2,:)==0))=-Inf;
ZakharovBest(3,find(ZakharovBest(3,:)==0))=-Inf;
ZakharovWorst(3,find(ZakharovWorst(3,:)==0))=-Inf;
ZakharovBest(4,find(ZakharovBest(4,:)==0))=-Inf;
ZakharovWorst(4,find(ZakharovWorst(4,:)==0))=-Inf;
ZakharovBest(5,find(ZakharovBest(5,:)==0))=-Inf;
ZakharovWorst(5,find(ZakharovWorst(5,:)==0))=-Inf;
ZakharovBest(6,find(ZakharovBest(6,:)==0))=-Inf;
ZakharovWorst(6,find(ZakharovWorst(6,:)==0))=-Inf;
ZakharovBest(7,find(ZakharovBest(7,:)==0))=-Inf;
ZakharovWorst(7,find(ZakharovWorst(7,:)==0))=-Inf;
ZakharovBest(8,find(ZakharovBest(8,:)==0))=-Inf;
ZakharovWorst(8,find(ZakharovWorst(8,:)==0))=-Inf;
ZakharovBest(9,find(ZakharovBest(9,:)==0))=-Inf;
ZakharovWorst(9,find(ZakharovWorst(9,:)==0))=-Inf;
ZakharovBest(10,find(ZakharovBest(10,:)==0))=-Inf;
ZakharovWorst(10,find(ZakharovWorst(10,:)==0))=-Inf;
ZakharovBest(11,find(ZakharovBest(11,:)==0))=-Inf;
ZakharovWorst(11,find(ZakharovWorst(11,:)==0))=-Inf;
ZakharovBest(12,find(ZakharovBest(12,:)==0))=-Inf;
ZakharovWorst(12,find(ZakharovWorst(12,:)==0))=-Inf;
ZakharovBest(13,find(ZakharovBest(13,:)==0))=-Inf;
ZakharovWorst(13,find(ZakharovWorst(13,:)==0))=-Inf;
ZakharovBest(14,find(ZakharovBest(14,:)==0))=-Inf;
ZakharovWorst(14,find(ZakharovWorst(14,:)==0))=-Inf;
ZakharovBest(15,find(ZakharovBest(15,:)==0))=-Inf;
ZakharovWorst(15,find(ZakharovWorst(15,:)==0))=-Inf;
ZakharovBest(16,find(ZakharovBest(16,:)==0))=-Inf;
ZakharovWorst(16,find(ZakharovWorst(16,:)==0))=-Inf;
ZakharovBest(17,find(ZakharovBest(17,:)==0))=-Inf;
ZakharovWorst(17,find(ZakharovWorst(17,:)==0))=-Inf;
ZakharovBest(18,find(ZakharovBest(18,:)==0))=-Inf;
ZakharovWorst(18,find(ZakharovWorst(18,:)==0))=-Inf;
ZakharovBest(19,find(ZakharovBest(19,:)==0))=-Inf;
ZakharovWorst(19,find(ZakharovWorst(19,:)==0))=-Inf;



fbest=figure('Name','Ackley');
hold on;
plot((AckleyBest(1,:)),'Color',colors(1,:))
plot((AckleyBest(2,:)),'Color',colors(2,:))
plot((AckleyBest(3,:)),'Color',colors(3,:))
plot((AckleyBest(4,:)),'Color',colors(4,:))
plot((AckleyBest(5,:)),'Color',colors(5,:))
plot((AckleyBest(6,:)),'Color',colors(6,:))
plot((AckleyBest(7,:)),'Color',colors(7,:))
plot((AckleyBest(8,:)),'Color',colors(8,:))
plot((AckleyBest(9,:)),'Color',colors(9,:))
plot((AckleyBest(10,:)),'Color',colors(10,:))
plot((AckleyBest(11,:)),'Color',colors(11,:))
plot((AckleyBest(12,:)),'Color',colors(12,:))
plot((AckleyBest(13,:)),'Color',colors(13,:))
plot((AckleyBest(14,:)),'Color',colors(14,:))
plot((AckleyBest(15,:)),'Color',colors(15,:))
plot((AckleyBest(16,:)),'Color',colors(16,:))
plot((AckleyBest(17,:)),'Color',colors(17,:))
plot((AckleyBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((AckleyBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Ackley');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/AckleyBest.eps','-depsc2');

fworst=figure('Name','Ackley');
hold on;
plot((AckleyWorst(1,:)),'Color',colors(1,:))
plot((AckleyWorst(2,:)),'Color',colors(2,:))
plot((AckleyWorst(3,:)),'Color',colors(3,:))
plot((AckleyWorst(4,:)),'Color',colors(4,:))
plot((AckleyWorst(5,:)),'Color',colors(5,:))
plot((AckleyWorst(6,:)),'Color',colors(6,:))
plot((AckleyWorst(7,:)),'Color',colors(7,:))
plot((AckleyWorst(8,:)),'Color',colors(8,:))
plot((AckleyWorst(9,:)),'Color',colors(9,:))
plot((AckleyWorst(10,:)),'Color',colors(10,:))
plot((AckleyWorst(11,:)),'Color',colors(11,:))
plot((AckleyWorst(12,:)),'Color',colors(12,:))
plot((AckleyWorst(13,:)),'Color',colors(13,:))
plot((AckleyWorst(14,:)),'Color',colors(14,:))
plot((AckleyWorst(15,:)),'Color',colors(15,:))
plot((AckleyWorst(16,:)),'Color',colors(16,:))
plot((AckleyWorst(17,:)),'Color',colors(17,:))
plot((AckleyWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((AckleyWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Ackley');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/AckleyWorst.eps','-depsc2');

fbest=figure('Name','Beale');
hold on;
plot((BealeBest(1,:)),'Color',colors(1,:))
plot((BealeBest(2,:)),'Color',colors(2,:))
plot((BealeBest(3,:)),'Color',colors(3,:))
plot((BealeBest(4,:)),'Color',colors(4,:))
plot((BealeBest(5,:)),'Color',colors(5,:))
plot((BealeBest(6,:)),'Color',colors(6,:))
plot((BealeBest(7,:)),'Color',colors(7,:))
plot((BealeBest(8,:)),'Color',colors(8,:))
plot((BealeBest(9,:)),'Color',colors(9,:))
plot((BealeBest(10,:)),'Color',colors(10,:))
plot((BealeBest(11,:)),'Color',colors(11,:))
plot((BealeBest(12,:)),'Color',colors(12,:))
plot((BealeBest(13,:)),'Color',colors(13,:))
plot((BealeBest(14,:)),'Color',colors(14,:))
plot((BealeBest(15,:)),'Color',colors(15,:))
plot((BealeBest(16,:)),'Color',colors(16,:))
plot((BealeBest(17,:)),'Color',colors(17,:))
plot((BealeBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BealeBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Beale');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BealeBest.eps','-depsc2');

fworst=figure('Name','Beale');
hold on;
plot((BealeWorst(1,:)),'Color',colors(1,:))
plot((BealeWorst(2,:)),'Color',colors(2,:))
plot((BealeWorst(3,:)),'Color',colors(3,:))
plot((BealeWorst(4,:)),'Color',colors(4,:))
plot((BealeWorst(5,:)),'Color',colors(5,:))
plot((BealeWorst(6,:)),'Color',colors(6,:))
plot((BealeWorst(7,:)),'Color',colors(7,:))
plot((BealeWorst(8,:)),'Color',colors(8,:))
plot((BealeWorst(9,:)),'Color',colors(9,:))
plot((BealeWorst(10,:)),'Color',colors(10,:))
plot((BealeWorst(11,:)),'Color',colors(11,:))
plot((BealeWorst(12,:)),'Color',colors(12,:))
plot((BealeWorst(13,:)),'Color',colors(13,:))
plot((BealeWorst(14,:)),'Color',colors(14,:))
plot((BealeWorst(15,:)),'Color',colors(15,:))
plot((BealeWorst(16,:)),'Color',colors(16,:))
plot((BealeWorst(17,:)),'Color',colors(17,:))
plot((BealeWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BealeWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Beale');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BealeWorst.eps','-depsc2');

fbest=figure('Name','Bohachevsky');
hold on;
plot((BohachevskyBest(1,:)),'Color',colors(1,:))
plot((BohachevskyBest(2,:)),'Color',colors(2,:))
plot((BohachevskyBest(3,:)),'Color',colors(3,:))
plot((BohachevskyBest(4,:)),'Color',colors(4,:))
plot((BohachevskyBest(5,:)),'Color',colors(5,:))
plot((BohachevskyBest(6,:)),'Color',colors(6,:))
plot((BohachevskyBest(7,:)),'Color',colors(7,:))
plot((BohachevskyBest(8,:)),'Color',colors(8,:))
plot((BohachevskyBest(9,:)),'Color',colors(9,:))
plot((BohachevskyBest(10,:)),'Color',colors(10,:))
plot((BohachevskyBest(11,:)),'Color',colors(11,:))
plot((BohachevskyBest(12,:)),'Color',colors(12,:))
plot((BohachevskyBest(13,:)),'Color',colors(13,:))
plot((BohachevskyBest(14,:)),'Color',colors(14,:))
plot((BohachevskyBest(15,:)),'Color',colors(15,:))
plot((BohachevskyBest(16,:)),'Color',colors(16,:))
plot((BohachevskyBest(17,:)),'Color',colors(17,:))
plot((BohachevskyBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BohachevskyBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Bohachevsky');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BohachevskyBest.eps','-depsc2');

fworst=figure('Name','Bohachevsky');
hold on;
plot((BohachevskyWorst(1,:)),'Color',colors(1,:))
plot((BohachevskyWorst(2,:)),'Color',colors(2,:))
plot((BohachevskyWorst(3,:)),'Color',colors(3,:))
plot((BohachevskyWorst(4,:)),'Color',colors(4,:))
plot((BohachevskyWorst(5,:)),'Color',colors(5,:))
plot((BohachevskyWorst(6,:)),'Color',colors(6,:))
plot((BohachevskyWorst(7,:)),'Color',colors(7,:))
plot((BohachevskyWorst(8,:)),'Color',colors(8,:))
plot((BohachevskyWorst(9,:)),'Color',colors(9,:))
plot((BohachevskyWorst(10,:)),'Color',colors(10,:))
plot((BohachevskyWorst(11,:)),'Color',colors(11,:))
plot((BohachevskyWorst(12,:)),'Color',colors(12,:))
plot((BohachevskyWorst(13,:)),'Color',colors(13,:))
plot((BohachevskyWorst(14,:)),'Color',colors(14,:))
plot((BohachevskyWorst(15,:)),'Color',colors(15,:))
plot((BohachevskyWorst(16,:)),'Color',colors(16,:))
plot((BohachevskyWorst(17,:)),'Color',colors(17,:))
plot((BohachevskyWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BohachevskyWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Bohachevsky');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BohachevskyWorst.eps','-depsc2');

fbest=figure('Name','Booth');
hold on;
plot((BoothBest(1,:)),'Color',colors(1,:))
plot((BoothBest(2,:)),'Color',colors(2,:))
plot((BoothBest(3,:)),'Color',colors(3,:))
plot((BoothBest(4,:)),'Color',colors(4,:))
plot((BoothBest(5,:)),'Color',colors(5,:))
plot((BoothBest(6,:)),'Color',colors(6,:))
plot((BoothBest(7,:)),'Color',colors(7,:))
plot((BoothBest(8,:)),'Color',colors(8,:))
plot((BoothBest(9,:)),'Color',colors(9,:))
plot((BoothBest(10,:)),'Color',colors(10,:))
plot((BoothBest(11,:)),'Color',colors(11,:))
plot((BoothBest(12,:)),'Color',colors(12,:))
plot((BoothBest(13,:)),'Color',colors(13,:))
plot((BoothBest(14,:)),'Color',colors(14,:))
plot((BoothBest(15,:)),'Color',colors(15,:))
plot((BoothBest(16,:)),'Color',colors(16,:))
plot((BoothBest(17,:)),'Color',colors(17,:))
plot((BoothBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BoothBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Booth');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BoothBest.eps','-depsc2');

fworst=figure('Name','Booth');
hold on;
plot((BoothWorst(1,:)),'Color',colors(1,:))
plot((BoothWorst(2,:)),'Color',colors(2,:))
plot((BoothWorst(3,:)),'Color',colors(3,:))
plot((BoothWorst(4,:)),'Color',colors(4,:))
plot((BoothWorst(5,:)),'Color',colors(5,:))
plot((BoothWorst(6,:)),'Color',colors(6,:))
plot((BoothWorst(7,:)),'Color',colors(7,:))
plot((BoothWorst(8,:)),'Color',colors(8,:))
plot((BoothWorst(9,:)),'Color',colors(9,:))
plot((BoothWorst(10,:)),'Color',colors(10,:))
plot((BoothWorst(11,:)),'Color',colors(11,:))
plot((BoothWorst(12,:)),'Color',colors(12,:))
plot((BoothWorst(13,:)),'Color',colors(13,:))
plot((BoothWorst(14,:)),'Color',colors(14,:))
plot((BoothWorst(15,:)),'Color',colors(15,:))
plot((BoothWorst(16,:)),'Color',colors(16,:))
plot((BoothWorst(17,:)),'Color',colors(17,:))
plot((BoothWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BoothWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Booth');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BoothWorst.eps','-depsc2');

fbest=figure('Name','Branin');
hold on;
plot((BraninBest(1,:)),'Color',colors(1,:))
plot((BraninBest(2,:)),'Color',colors(2,:))
plot((BraninBest(3,:)),'Color',colors(3,:))
plot((BraninBest(4,:)),'Color',colors(4,:))
plot((BraninBest(5,:)),'Color',colors(5,:))
plot((BraninBest(6,:)),'Color',colors(6,:))
plot((BraninBest(7,:)),'Color',colors(7,:))
plot((BraninBest(8,:)),'Color',colors(8,:))
plot((BraninBest(9,:)),'Color',colors(9,:))
plot((BraninBest(10,:)),'Color',colors(10,:))
plot((BraninBest(11,:)),'Color',colors(11,:))
plot((BraninBest(12,:)),'Color',colors(12,:))
plot((BraninBest(13,:)),'Color',colors(13,:))
plot((BraninBest(14,:)),'Color',colors(14,:))
plot((BraninBest(15,:)),'Color',colors(15,:))
plot((BraninBest(16,:)),'Color',colors(16,:))
plot((BraninBest(17,:)),'Color',colors(17,:))
plot((BraninBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BraninBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Branin');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BraninBest.eps','-depsc2');

fworst=figure('Name','Branin');
hold on;
plot((BraninWorst(1,:)),'Color',colors(1,:))
plot((BraninWorst(2,:)),'Color',colors(2,:))
plot((BraninWorst(3,:)),'Color',colors(3,:))
plot((BraninWorst(4,:)),'Color',colors(4,:))
plot((BraninWorst(5,:)),'Color',colors(5,:))
plot((BraninWorst(6,:)),'Color',colors(6,:))
plot((BraninWorst(7,:)),'Color',colors(7,:))
plot((BraninWorst(8,:)),'Color',colors(8,:))
plot((BraninWorst(9,:)),'Color',colors(9,:))
plot((BraninWorst(10,:)),'Color',colors(10,:))
plot((BraninWorst(11,:)),'Color',colors(11,:))
plot((BraninWorst(12,:)),'Color',colors(12,:))
plot((BraninWorst(13,:)),'Color',colors(13,:))
plot((BraninWorst(14,:)),'Color',colors(14,:))
plot((BraninWorst(15,:)),'Color',colors(15,:))
plot((BraninWorst(16,:)),'Color',colors(16,:))
plot((BraninWorst(17,:)),'Color',colors(17,:))
plot((BraninWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((BraninWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Branin');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/BraninWorst.eps','-depsc2');

fbest=figure('Name','Colville');
hold on;
plot((ColvilleBest(1,:)),'Color',colors(1,:))
plot((ColvilleBest(2,:)),'Color',colors(2,:))
plot((ColvilleBest(3,:)),'Color',colors(3,:))
plot((ColvilleBest(4,:)),'Color',colors(4,:))
plot((ColvilleBest(5,:)),'Color',colors(5,:))
plot((ColvilleBest(6,:)),'Color',colors(6,:))
plot((ColvilleBest(7,:)),'Color',colors(7,:))
plot((ColvilleBest(8,:)),'Color',colors(8,:))
plot((ColvilleBest(9,:)),'Color',colors(9,:))
plot((ColvilleBest(10,:)),'Color',colors(10,:))
plot((ColvilleBest(11,:)),'Color',colors(11,:))
plot((ColvilleBest(12,:)),'Color',colors(12,:))
plot((ColvilleBest(13,:)),'Color',colors(13,:))
plot((ColvilleBest(14,:)),'Color',colors(14,:))
plot((ColvilleBest(15,:)),'Color',colors(15,:))
plot((ColvilleBest(16,:)),'Color',colors(16,:))
plot((ColvilleBest(17,:)),'Color',colors(17,:))
plot((ColvilleBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ColvilleBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Colville');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ColvilleBest.eps','-depsc2');

fworst=figure('Name','Colville');
hold on;
plot((ColvilleWorst(1,:)),'Color',colors(1,:))
plot((ColvilleWorst(2,:)),'Color',colors(2,:))
plot((ColvilleWorst(3,:)),'Color',colors(3,:))
plot((ColvilleWorst(4,:)),'Color',colors(4,:))
plot((ColvilleWorst(5,:)),'Color',colors(5,:))
plot((ColvilleWorst(6,:)),'Color',colors(6,:))
plot((ColvilleWorst(7,:)),'Color',colors(7,:))
plot((ColvilleWorst(8,:)),'Color',colors(8,:))
plot((ColvilleWorst(9,:)),'Color',colors(9,:))
plot((ColvilleWorst(10,:)),'Color',colors(10,:))
plot((ColvilleWorst(11,:)),'Color',colors(11,:))
plot((ColvilleWorst(12,:)),'Color',colors(12,:))
plot((ColvilleWorst(13,:)),'Color',colors(13,:))
plot((ColvilleWorst(14,:)),'Color',colors(14,:))
plot((ColvilleWorst(15,:)),'Color',colors(15,:))
plot((ColvilleWorst(16,:)),'Color',colors(16,:))
plot((ColvilleWorst(17,:)),'Color',colors(17,:))
plot((ColvilleWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ColvilleWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Colville');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ColvilleWorst.eps','-depsc2');

fbest=figure('Name','DixonPrice');
hold on;
plot((DixonPriceBest(1,:)),'Color',colors(1,:))
plot((DixonPriceBest(2,:)),'Color',colors(2,:))
plot((DixonPriceBest(3,:)),'Color',colors(3,:))
plot((DixonPriceBest(4,:)),'Color',colors(4,:))
plot((DixonPriceBest(5,:)),'Color',colors(5,:))
plot((DixonPriceBest(6,:)),'Color',colors(6,:))
plot((DixonPriceBest(7,:)),'Color',colors(7,:))
plot((DixonPriceBest(8,:)),'Color',colors(8,:))
plot((DixonPriceBest(9,:)),'Color',colors(9,:))
plot((DixonPriceBest(10,:)),'Color',colors(10,:))
plot((DixonPriceBest(11,:)),'Color',colors(11,:))
plot((DixonPriceBest(12,:)),'Color',colors(12,:))
plot((DixonPriceBest(13,:)),'Color',colors(13,:))
plot((DixonPriceBest(14,:)),'Color',colors(14,:))
plot((DixonPriceBest(15,:)),'Color',colors(15,:))
plot((DixonPriceBest(16,:)),'Color',colors(16,:))
plot((DixonPriceBest(17,:)),'Color',colors(17,:))
plot((DixonPriceBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((DixonPriceBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('DixonPrice');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/DixonPriceBest.eps','-depsc2');

fworst=figure('Name','DixonPrice');
hold on;
plot((DixonPriceWorst(1,:)),'Color',colors(1,:))
plot((DixonPriceWorst(2,:)),'Color',colors(2,:))
plot((DixonPriceWorst(3,:)),'Color',colors(3,:))
plot((DixonPriceWorst(4,:)),'Color',colors(4,:))
plot((DixonPriceWorst(5,:)),'Color',colors(5,:))
plot((DixonPriceWorst(6,:)),'Color',colors(6,:))
plot((DixonPriceWorst(7,:)),'Color',colors(7,:))
plot((DixonPriceWorst(8,:)),'Color',colors(8,:))
plot((DixonPriceWorst(9,:)),'Color',colors(9,:))
plot((DixonPriceWorst(10,:)),'Color',colors(10,:))
plot((DixonPriceWorst(11,:)),'Color',colors(11,:))
plot((DixonPriceWorst(12,:)),'Color',colors(12,:))
plot((DixonPriceWorst(13,:)),'Color',colors(13,:))
plot((DixonPriceWorst(14,:)),'Color',colors(14,:))
plot((DixonPriceWorst(15,:)),'Color',colors(15,:))
plot((DixonPriceWorst(16,:)),'Color',colors(16,:))
plot((DixonPriceWorst(17,:)),'Color',colors(17,:))
plot((DixonPriceWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((DixonPriceWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('DixonPrice');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/DixonPriceWorst.eps','-depsc2');

fbest=figure('Name','Easom');
hold on;
plot((EasomBest(1,:)),'Color',colors(1,:))
plot((EasomBest(2,:)),'Color',colors(2,:))
plot((EasomBest(3,:)),'Color',colors(3,:))
plot((EasomBest(4,:)),'Color',colors(4,:))
plot((EasomBest(5,:)),'Color',colors(5,:))
plot((EasomBest(6,:)),'Color',colors(6,:))
plot((EasomBest(7,:)),'Color',colors(7,:))
plot((EasomBest(8,:)),'Color',colors(8,:))
plot((EasomBest(9,:)),'Color',colors(9,:))
plot((EasomBest(10,:)),'Color',colors(10,:))
plot((EasomBest(11,:)),'Color',colors(11,:))
plot((EasomBest(12,:)),'Color',colors(12,:))
plot((EasomBest(13,:)),'Color',colors(13,:))
plot((EasomBest(14,:)),'Color',colors(14,:))
plot((EasomBest(15,:)),'Color',colors(15,:))
plot((EasomBest(16,:)),'Color',colors(16,:))
plot((EasomBest(17,:)),'Color',colors(17,:))
plot((EasomBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((EasomBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Easom');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/EasomBest.eps','-depsc2');

fworst=figure('Name','Easom');
hold on;
plot((EasomWorst(1,:)),'Color',colors(1,:))
plot((EasomWorst(2,:)),'Color',colors(2,:))
plot((EasomWorst(3,:)),'Color',colors(3,:))
plot((EasomWorst(4,:)),'Color',colors(4,:))
plot((EasomWorst(5,:)),'Color',colors(5,:))
plot((EasomWorst(6,:)),'Color',colors(6,:))
plot((EasomWorst(7,:)),'Color',colors(7,:))
plot((EasomWorst(8,:)),'Color',colors(8,:))
plot((EasomWorst(9,:)),'Color',colors(9,:))
plot((EasomWorst(10,:)),'Color',colors(10,:))
plot((EasomWorst(11,:)),'Color',colors(11,:))
plot((EasomWorst(12,:)),'Color',colors(12,:))
plot((EasomWorst(13,:)),'Color',colors(13,:))
plot((EasomWorst(14,:)),'Color',colors(14,:))
plot((EasomWorst(15,:)),'Color',colors(15,:))
plot((EasomWorst(16,:)),'Color',colors(16,:))
plot((EasomWorst(17,:)),'Color',colors(17,:))
plot((EasomWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((EasomWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Easom');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/EasomWorst.eps','-depsc2');

fbest=figure('Name','GoldsteinPrice');
hold on;
plot((GoldsteinPriceBest(1,:)),'Color',colors(1,:))
plot((GoldsteinPriceBest(2,:)),'Color',colors(2,:))
plot((GoldsteinPriceBest(3,:)),'Color',colors(3,:))
plot((GoldsteinPriceBest(4,:)),'Color',colors(4,:))
plot((GoldsteinPriceBest(5,:)),'Color',colors(5,:))
plot((GoldsteinPriceBest(6,:)),'Color',colors(6,:))
plot((GoldsteinPriceBest(7,:)),'Color',colors(7,:))
plot((GoldsteinPriceBest(8,:)),'Color',colors(8,:))
plot((GoldsteinPriceBest(9,:)),'Color',colors(9,:))
plot((GoldsteinPriceBest(10,:)),'Color',colors(10,:))
plot((GoldsteinPriceBest(11,:)),'Color',colors(11,:))
plot((GoldsteinPriceBest(12,:)),'Color',colors(12,:))
plot((GoldsteinPriceBest(13,:)),'Color',colors(13,:))
plot((GoldsteinPriceBest(14,:)),'Color',colors(14,:))
plot((GoldsteinPriceBest(15,:)),'Color',colors(15,:))
plot((GoldsteinPriceBest(16,:)),'Color',colors(16,:))
plot((GoldsteinPriceBest(17,:)),'Color',colors(17,:))
plot((GoldsteinPriceBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((GoldsteinPriceBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('GoldsteinPrice');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/GoldsteinPriceBest.eps','-depsc2');

fworst=figure('Name','GoldsteinPrice');
hold on;
plot((GoldsteinPriceWorst(1,:)),'Color',colors(1,:))
plot((GoldsteinPriceWorst(2,:)),'Color',colors(2,:))
plot((GoldsteinPriceWorst(3,:)),'Color',colors(3,:))
plot((GoldsteinPriceWorst(4,:)),'Color',colors(4,:))
plot((GoldsteinPriceWorst(5,:)),'Color',colors(5,:))
plot((GoldsteinPriceWorst(6,:)),'Color',colors(6,:))
plot((GoldsteinPriceWorst(7,:)),'Color',colors(7,:))
plot((GoldsteinPriceWorst(8,:)),'Color',colors(8,:))
plot((GoldsteinPriceWorst(9,:)),'Color',colors(9,:))
plot((GoldsteinPriceWorst(10,:)),'Color',colors(10,:))
plot((GoldsteinPriceWorst(11,:)),'Color',colors(11,:))
plot((GoldsteinPriceWorst(12,:)),'Color',colors(12,:))
plot((GoldsteinPriceWorst(13,:)),'Color',colors(13,:))
plot((GoldsteinPriceWorst(14,:)),'Color',colors(14,:))
plot((GoldsteinPriceWorst(15,:)),'Color',colors(15,:))
plot((GoldsteinPriceWorst(16,:)),'Color',colors(16,:))
plot((GoldsteinPriceWorst(17,:)),'Color',colors(17,:))
plot((GoldsteinPriceWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((GoldsteinPriceWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('GoldsteinPrice');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/GoldsteinPriceWorst.eps','-depsc2');

fbest=figure('Name','Griewangk');
hold on;
plot((GriewangkBest(1,:)),'Color',colors(1,:))
plot((GriewangkBest(2,:)),'Color',colors(2,:))
plot((GriewangkBest(3,:)),'Color',colors(3,:))
plot((GriewangkBest(4,:)),'Color',colors(4,:))
plot((GriewangkBest(5,:)),'Color',colors(5,:))
plot((GriewangkBest(6,:)),'Color',colors(6,:))
plot((GriewangkBest(7,:)),'Color',colors(7,:))
plot((GriewangkBest(8,:)),'Color',colors(8,:))
plot((GriewangkBest(9,:)),'Color',colors(9,:))
plot((GriewangkBest(10,:)),'Color',colors(10,:))
plot((GriewangkBest(11,:)),'Color',colors(11,:))
plot((GriewangkBest(12,:)),'Color',colors(12,:))
plot((GriewangkBest(13,:)),'Color',colors(13,:))
plot((GriewangkBest(14,:)),'Color',colors(14,:))
plot((GriewangkBest(15,:)),'Color',colors(15,:))
plot((GriewangkBest(16,:)),'Color',colors(16,:))
plot((GriewangkBest(17,:)),'Color',colors(17,:))
plot((GriewangkBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((GriewangkBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Griewangk');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/GriewangkBest.eps','-depsc2');

fworst=figure('Name','Griewangk');
hold on;
plot((GriewangkWorst(1,:)),'Color',colors(1,:))
plot((GriewangkWorst(2,:)),'Color',colors(2,:))
plot((GriewangkWorst(3,:)),'Color',colors(3,:))
plot((GriewangkWorst(4,:)),'Color',colors(4,:))
plot((GriewangkWorst(5,:)),'Color',colors(5,:))
plot((GriewangkWorst(6,:)),'Color',colors(6,:))
plot((GriewangkWorst(7,:)),'Color',colors(7,:))
plot((GriewangkWorst(8,:)),'Color',colors(8,:))
plot((GriewangkWorst(9,:)),'Color',colors(9,:))
plot((GriewangkWorst(10,:)),'Color',colors(10,:))
plot((GriewangkWorst(11,:)),'Color',colors(11,:))
plot((GriewangkWorst(12,:)),'Color',colors(12,:))
plot((GriewangkWorst(13,:)),'Color',colors(13,:))
plot((GriewangkWorst(14,:)),'Color',colors(14,:))
plot((GriewangkWorst(15,:)),'Color',colors(15,:))
plot((GriewangkWorst(16,:)),'Color',colors(16,:))
plot((GriewangkWorst(17,:)),'Color',colors(17,:))
plot((GriewangkWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((GriewangkWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Griewangk');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/GriewangkWorst.eps','-depsc2');

fbest=figure('Name','Hartmann');
hold on;
plot((HartmannBest(1,:)),'Color',colors(1,:))
plot((HartmannBest(2,:)),'Color',colors(2,:))
plot((HartmannBest(3,:)),'Color',colors(3,:))
plot((HartmannBest(4,:)),'Color',colors(4,:))
plot((HartmannBest(5,:)),'Color',colors(5,:))
plot((HartmannBest(6,:)),'Color',colors(6,:))
plot((HartmannBest(7,:)),'Color',colors(7,:))
plot((HartmannBest(8,:)),'Color',colors(8,:))
plot((HartmannBest(9,:)),'Color',colors(9,:))
plot((HartmannBest(10,:)),'Color',colors(10,:))
plot((HartmannBest(11,:)),'Color',colors(11,:))
plot((HartmannBest(12,:)),'Color',colors(12,:))
plot((HartmannBest(13,:)),'Color',colors(13,:))
plot((HartmannBest(14,:)),'Color',colors(14,:))
plot((HartmannBest(15,:)),'Color',colors(15,:))
plot((HartmannBest(16,:)),'Color',colors(16,:))
plot((HartmannBest(17,:)),'Color',colors(17,:))
plot((HartmannBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((HartmannBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Hartmann');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/HartmannBest.eps','-depsc2');

fworst=figure('Name','Hartmann');
hold on;
plot((HartmannWorst(1,:)),'Color',colors(1,:))
plot((HartmannWorst(2,:)),'Color',colors(2,:))
plot((HartmannWorst(3,:)),'Color',colors(3,:))
plot((HartmannWorst(4,:)),'Color',colors(4,:))
plot((HartmannWorst(5,:)),'Color',colors(5,:))
plot((HartmannWorst(6,:)),'Color',colors(6,:))
plot((HartmannWorst(7,:)),'Color',colors(7,:))
plot((HartmannWorst(8,:)),'Color',colors(8,:))
plot((HartmannWorst(9,:)),'Color',colors(9,:))
plot((HartmannWorst(10,:)),'Color',colors(10,:))
plot((HartmannWorst(11,:)),'Color',colors(11,:))
plot((HartmannWorst(12,:)),'Color',colors(12,:))
plot((HartmannWorst(13,:)),'Color',colors(13,:))
plot((HartmannWorst(14,:)),'Color',colors(14,:))
plot((HartmannWorst(15,:)),'Color',colors(15,:))
plot((HartmannWorst(16,:)),'Color',colors(16,:))
plot((HartmannWorst(17,:)),'Color',colors(17,:))
plot((HartmannWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((HartmannWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Hartmann');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/HartmannWorst.eps','-depsc2');

fbest=figure('Name','Himmelblau');
hold on;
plot((HimmelblauBest(1,:)),'Color',colors(1,:))
plot((HimmelblauBest(2,:)),'Color',colors(2,:))
plot((HimmelblauBest(3,:)),'Color',colors(3,:))
plot((HimmelblauBest(4,:)),'Color',colors(4,:))
plot((HimmelblauBest(5,:)),'Color',colors(5,:))
plot((HimmelblauBest(6,:)),'Color',colors(6,:))
plot((HimmelblauBest(7,:)),'Color',colors(7,:))
plot((HimmelblauBest(8,:)),'Color',colors(8,:))
plot((HimmelblauBest(9,:)),'Color',colors(9,:))
plot((HimmelblauBest(10,:)),'Color',colors(10,:))
plot((HimmelblauBest(11,:)),'Color',colors(11,:))
plot((HimmelblauBest(12,:)),'Color',colors(12,:))
plot((HimmelblauBest(13,:)),'Color',colors(13,:))
plot((HimmelblauBest(14,:)),'Color',colors(14,:))
plot((HimmelblauBest(15,:)),'Color',colors(15,:))
plot((HimmelblauBest(16,:)),'Color',colors(16,:))
plot((HimmelblauBest(17,:)),'Color',colors(17,:))
plot((HimmelblauBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((HimmelblauBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Himmelblau');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/HimmelblauBest.eps','-depsc2');

fworst=figure('Name','Himmelblau');
hold on;
plot((HimmelblauWorst(1,:)),'Color',colors(1,:))
plot((HimmelblauWorst(2,:)),'Color',colors(2,:))
plot((HimmelblauWorst(3,:)),'Color',colors(3,:))
plot((HimmelblauWorst(4,:)),'Color',colors(4,:))
plot((HimmelblauWorst(5,:)),'Color',colors(5,:))
plot((HimmelblauWorst(6,:)),'Color',colors(6,:))
plot((HimmelblauWorst(7,:)),'Color',colors(7,:))
plot((HimmelblauWorst(8,:)),'Color',colors(8,:))
plot((HimmelblauWorst(9,:)),'Color',colors(9,:))
plot((HimmelblauWorst(10,:)),'Color',colors(10,:))
plot((HimmelblauWorst(11,:)),'Color',colors(11,:))
plot((HimmelblauWorst(12,:)),'Color',colors(12,:))
plot((HimmelblauWorst(13,:)),'Color',colors(13,:))
plot((HimmelblauWorst(14,:)),'Color',colors(14,:))
plot((HimmelblauWorst(15,:)),'Color',colors(15,:))
plot((HimmelblauWorst(16,:)),'Color',colors(16,:))
plot((HimmelblauWorst(17,:)),'Color',colors(17,:))
plot((HimmelblauWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((HimmelblauWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Himmelblau');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/HimmelblauWorst.eps','-depsc2');

fbest=figure('Name','Langermann');
hold on;
plot((LangermannBest(1,:)),'Color',colors(1,:))
plot((LangermannBest(2,:)),'Color',colors(2,:))
plot((LangermannBest(3,:)),'Color',colors(3,:))
plot((LangermannBest(4,:)),'Color',colors(4,:))
plot((LangermannBest(5,:)),'Color',colors(5,:))
plot((LangermannBest(6,:)),'Color',colors(6,:))
plot((LangermannBest(7,:)),'Color',colors(7,:))
plot((LangermannBest(8,:)),'Color',colors(8,:))
plot((LangermannBest(9,:)),'Color',colors(9,:))
plot((LangermannBest(10,:)),'Color',colors(10,:))
plot((LangermannBest(11,:)),'Color',colors(11,:))
plot((LangermannBest(12,:)),'Color',colors(12,:))
plot((LangermannBest(13,:)),'Color',colors(13,:))
plot((LangermannBest(14,:)),'Color',colors(14,:))
plot((LangermannBest(15,:)),'Color',colors(15,:))
plot((LangermannBest(16,:)),'Color',colors(16,:))
plot((LangermannBest(17,:)),'Color',colors(17,:))
plot((LangermannBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((LangermannBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Langermann');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/LangermannBest.eps','-depsc2');

fworst=figure('Name','Langermann');
hold on;
plot((LangermannWorst(1,:)),'Color',colors(1,:))
plot((LangermannWorst(2,:)),'Color',colors(2,:))
plot((LangermannWorst(3,:)),'Color',colors(3,:))
plot((LangermannWorst(4,:)),'Color',colors(4,:))
plot((LangermannWorst(5,:)),'Color',colors(5,:))
plot((LangermannWorst(6,:)),'Color',colors(6,:))
plot((LangermannWorst(7,:)),'Color',colors(7,:))
plot((LangermannWorst(8,:)),'Color',colors(8,:))
plot((LangermannWorst(9,:)),'Color',colors(9,:))
plot((LangermannWorst(10,:)),'Color',colors(10,:))
plot((LangermannWorst(11,:)),'Color',colors(11,:))
plot((LangermannWorst(12,:)),'Color',colors(12,:))
plot((LangermannWorst(13,:)),'Color',colors(13,:))
plot((LangermannWorst(14,:)),'Color',colors(14,:))
plot((LangermannWorst(15,:)),'Color',colors(15,:))
plot((LangermannWorst(16,:)),'Color',colors(16,:))
plot((LangermannWorst(17,:)),'Color',colors(17,:))
plot((LangermannWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((LangermannWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Langermann');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/LangermannWorst.eps','-depsc2');

fbest=figure('Name','Levy');
hold on;
plot((LevyBest(1,:)),'Color',colors(1,:))
plot((LevyBest(2,:)),'Color',colors(2,:))
plot((LevyBest(3,:)),'Color',colors(3,:))
plot((LevyBest(4,:)),'Color',colors(4,:))
plot((LevyBest(5,:)),'Color',colors(5,:))
plot((LevyBest(6,:)),'Color',colors(6,:))
plot((LevyBest(7,:)),'Color',colors(7,:))
plot((LevyBest(8,:)),'Color',colors(8,:))
plot((LevyBest(9,:)),'Color',colors(9,:))
plot((LevyBest(10,:)),'Color',colors(10,:))
plot((LevyBest(11,:)),'Color',colors(11,:))
plot((LevyBest(12,:)),'Color',colors(12,:))
plot((LevyBest(13,:)),'Color',colors(13,:))
plot((LevyBest(14,:)),'Color',colors(14,:))
plot((LevyBest(15,:)),'Color',colors(15,:))
plot((LevyBest(16,:)),'Color',colors(16,:))
plot((LevyBest(17,:)),'Color',colors(17,:))
plot((LevyBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((LevyBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/LevyBest.eps','-depsc2');

fworst=figure('Name','Levy');
hold on;
plot((LevyWorst(1,:)),'Color',colors(1,:))
plot((LevyWorst(2,:)),'Color',colors(2,:))
plot((LevyWorst(3,:)),'Color',colors(3,:))
plot((LevyWorst(4,:)),'Color',colors(4,:))
plot((LevyWorst(5,:)),'Color',colors(5,:))
plot((LevyWorst(6,:)),'Color',colors(6,:))
plot((LevyWorst(7,:)),'Color',colors(7,:))
plot((LevyWorst(8,:)),'Color',colors(8,:))
plot((LevyWorst(9,:)),'Color',colors(9,:))
plot((LevyWorst(10,:)),'Color',colors(10,:))
plot((LevyWorst(11,:)),'Color',colors(11,:))
plot((LevyWorst(12,:)),'Color',colors(12,:))
plot((LevyWorst(13,:)),'Color',colors(13,:))
plot((LevyWorst(14,:)),'Color',colors(14,:))
plot((LevyWorst(15,:)),'Color',colors(15,:))
plot((LevyWorst(16,:)),'Color',colors(16,:))
plot((LevyWorst(17,:)),'Color',colors(17,:))
plot((LevyWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((LevyWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/LevyWorst.eps','-depsc2');

fbest=figure('Name','Levy3');
hold on;
plot((Levy3Best(1,:)),'Color',colors(1,:))
plot((Levy3Best(2,:)),'Color',colors(2,:))
plot((Levy3Best(3,:)),'Color',colors(3,:))
plot((Levy3Best(4,:)),'Color',colors(4,:))
plot((Levy3Best(5,:)),'Color',colors(5,:))
plot((Levy3Best(6,:)),'Color',colors(6,:))
plot((Levy3Best(7,:)),'Color',colors(7,:))
plot((Levy3Best(8,:)),'Color',colors(8,:))
plot((Levy3Best(9,:)),'Color',colors(9,:))
plot((Levy3Best(10,:)),'Color',colors(10,:))
plot((Levy3Best(11,:)),'Color',colors(11,:))
plot((Levy3Best(12,:)),'Color',colors(12,:))
plot((Levy3Best(13,:)),'Color',colors(13,:))
plot((Levy3Best(14,:)),'Color',colors(14,:))
plot((Levy3Best(15,:)),'Color',colors(15,:))
plot((Levy3Best(16,:)),'Color',colors(16,:))
plot((Levy3Best(17,:)),'Color',colors(17,:))
plot((Levy3Best(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((Levy3Best(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy3');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/Levy3Best.eps','-depsc2');

fworst=figure('Name','Levy3');
hold on;
plot((Levy3Worst(1,:)),'Color',colors(1,:))
plot((Levy3Worst(2,:)),'Color',colors(2,:))
plot((Levy3Worst(3,:)),'Color',colors(3,:))
plot((Levy3Worst(4,:)),'Color',colors(4,:))
plot((Levy3Worst(5,:)),'Color',colors(5,:))
plot((Levy3Worst(6,:)),'Color',colors(6,:))
plot((Levy3Worst(7,:)),'Color',colors(7,:))
plot((Levy3Worst(8,:)),'Color',colors(8,:))
plot((Levy3Worst(9,:)),'Color',colors(9,:))
plot((Levy3Worst(10,:)),'Color',colors(10,:))
plot((Levy3Worst(11,:)),'Color',colors(11,:))
plot((Levy3Worst(12,:)),'Color',colors(12,:))
plot((Levy3Worst(13,:)),'Color',colors(13,:))
plot((Levy3Worst(14,:)),'Color',colors(14,:))
plot((Levy3Worst(15,:)),'Color',colors(15,:))
plot((Levy3Worst(16,:)),'Color',colors(16,:))
plot((Levy3Worst(17,:)),'Color',colors(17,:))
plot((Levy3Worst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((Levy3Worst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy3');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/Levy3Worst.eps','-depsc2');

fbest=figure('Name','Levy5');
hold on;
plot((Levy5Best(1,:)),'Color',colors(1,:))
plot((Levy5Best(2,:)),'Color',colors(2,:))
plot((Levy5Best(3,:)),'Color',colors(3,:))
plot((Levy5Best(4,:)),'Color',colors(4,:))
plot((Levy5Best(5,:)),'Color',colors(5,:))
plot((Levy5Best(6,:)),'Color',colors(6,:))
plot((Levy5Best(7,:)),'Color',colors(7,:))
plot((Levy5Best(8,:)),'Color',colors(8,:))
plot((Levy5Best(9,:)),'Color',colors(9,:))
plot((Levy5Best(10,:)),'Color',colors(10,:))
plot((Levy5Best(11,:)),'Color',colors(11,:))
plot((Levy5Best(12,:)),'Color',colors(12,:))
plot((Levy5Best(13,:)),'Color',colors(13,:))
plot((Levy5Best(14,:)),'Color',colors(14,:))
plot((Levy5Best(15,:)),'Color',colors(15,:))
plot((Levy5Best(16,:)),'Color',colors(16,:))
plot((Levy5Best(17,:)),'Color',colors(17,:))
plot((Levy5Best(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((Levy5Best(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy5');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/Levy5Best.eps','-depsc2');

fworst=figure('Name','Levy5');
hold on;
plot((Levy5Worst(1,:)),'Color',colors(1,:))
plot((Levy5Worst(2,:)),'Color',colors(2,:))
plot((Levy5Worst(3,:)),'Color',colors(3,:))
plot((Levy5Worst(4,:)),'Color',colors(4,:))
plot((Levy5Worst(5,:)),'Color',colors(5,:))
plot((Levy5Worst(6,:)),'Color',colors(6,:))
plot((Levy5Worst(7,:)),'Color',colors(7,:))
plot((Levy5Worst(8,:)),'Color',colors(8,:))
plot((Levy5Worst(9,:)),'Color',colors(9,:))
plot((Levy5Worst(10,:)),'Color',colors(10,:))
plot((Levy5Worst(11,:)),'Color',colors(11,:))
plot((Levy5Worst(12,:)),'Color',colors(12,:))
plot((Levy5Worst(13,:)),'Color',colors(13,:))
plot((Levy5Worst(14,:)),'Color',colors(14,:))
plot((Levy5Worst(15,:)),'Color',colors(15,:))
plot((Levy5Worst(16,:)),'Color',colors(16,:))
plot((Levy5Worst(17,:)),'Color',colors(17,:))
plot((Levy5Worst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((Levy5Worst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Levy5');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/Levy5Worst.eps','-depsc2');

fbest=figure('Name','Matyas');
hold on;
plot((MatyasBest(1,:)),'Color',colors(1,:))
plot((MatyasBest(2,:)),'Color',colors(2,:))
plot((MatyasBest(3,:)),'Color',colors(3,:))
plot((MatyasBest(4,:)),'Color',colors(4,:))
plot((MatyasBest(5,:)),'Color',colors(5,:))
plot((MatyasBest(6,:)),'Color',colors(6,:))
plot((MatyasBest(7,:)),'Color',colors(7,:))
plot((MatyasBest(8,:)),'Color',colors(8,:))
plot((MatyasBest(9,:)),'Color',colors(9,:))
plot((MatyasBest(10,:)),'Color',colors(10,:))
plot((MatyasBest(11,:)),'Color',colors(11,:))
plot((MatyasBest(12,:)),'Color',colors(12,:))
plot((MatyasBest(13,:)),'Color',colors(13,:))
plot((MatyasBest(14,:)),'Color',colors(14,:))
plot((MatyasBest(15,:)),'Color',colors(15,:))
plot((MatyasBest(16,:)),'Color',colors(16,:))
plot((MatyasBest(17,:)),'Color',colors(17,:))
plot((MatyasBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((MatyasBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Matyas');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/MatyasBest.eps','-depsc2');

fworst=figure('Name','Matyas');
hold on;
plot((MatyasWorst(1,:)),'Color',colors(1,:))
plot((MatyasWorst(2,:)),'Color',colors(2,:))
plot((MatyasWorst(3,:)),'Color',colors(3,:))
plot((MatyasWorst(4,:)),'Color',colors(4,:))
plot((MatyasWorst(5,:)),'Color',colors(5,:))
plot((MatyasWorst(6,:)),'Color',colors(6,:))
plot((MatyasWorst(7,:)),'Color',colors(7,:))
plot((MatyasWorst(8,:)),'Color',colors(8,:))
plot((MatyasWorst(9,:)),'Color',colors(9,:))
plot((MatyasWorst(10,:)),'Color',colors(10,:))
plot((MatyasWorst(11,:)),'Color',colors(11,:))
plot((MatyasWorst(12,:)),'Color',colors(12,:))
plot((MatyasWorst(13,:)),'Color',colors(13,:))
plot((MatyasWorst(14,:)),'Color',colors(14,:))
plot((MatyasWorst(15,:)),'Color',colors(15,:))
plot((MatyasWorst(16,:)),'Color',colors(16,:))
plot((MatyasWorst(17,:)),'Color',colors(17,:))
plot((MatyasWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((MatyasWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Matyas');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/MatyasWorst.eps','-depsc2');

fbest=figure('Name','Michalewicz');
hold on;
plot((MichalewiczBest(1,:)),'Color',colors(1,:))
plot((MichalewiczBest(2,:)),'Color',colors(2,:))
plot((MichalewiczBest(3,:)),'Color',colors(3,:))
plot((MichalewiczBest(4,:)),'Color',colors(4,:))
plot((MichalewiczBest(5,:)),'Color',colors(5,:))
plot((MichalewiczBest(6,:)),'Color',colors(6,:))
plot((MichalewiczBest(7,:)),'Color',colors(7,:))
plot((MichalewiczBest(8,:)),'Color',colors(8,:))
plot((MichalewiczBest(9,:)),'Color',colors(9,:))
plot((MichalewiczBest(10,:)),'Color',colors(10,:))
plot((MichalewiczBest(11,:)),'Color',colors(11,:))
plot((MichalewiczBest(12,:)),'Color',colors(12,:))
plot((MichalewiczBest(13,:)),'Color',colors(13,:))
plot((MichalewiczBest(14,:)),'Color',colors(14,:))
plot((MichalewiczBest(15,:)),'Color',colors(15,:))
plot((MichalewiczBest(16,:)),'Color',colors(16,:))
plot((MichalewiczBest(17,:)),'Color',colors(17,:))
plot((MichalewiczBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((MichalewiczBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Michalewicz');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/MichalewiczBest.eps','-depsc2');

fworst=figure('Name','Michalewicz');
hold on;
plot((MichalewiczWorst(1,:)),'Color',colors(1,:))
plot((MichalewiczWorst(2,:)),'Color',colors(2,:))
plot((MichalewiczWorst(3,:)),'Color',colors(3,:))
plot((MichalewiczWorst(4,:)),'Color',colors(4,:))
plot((MichalewiczWorst(5,:)),'Color',colors(5,:))
plot((MichalewiczWorst(6,:)),'Color',colors(6,:))
plot((MichalewiczWorst(7,:)),'Color',colors(7,:))
plot((MichalewiczWorst(8,:)),'Color',colors(8,:))
plot((MichalewiczWorst(9,:)),'Color',colors(9,:))
plot((MichalewiczWorst(10,:)),'Color',colors(10,:))
plot((MichalewiczWorst(11,:)),'Color',colors(11,:))
plot((MichalewiczWorst(12,:)),'Color',colors(12,:))
plot((MichalewiczWorst(13,:)),'Color',colors(13,:))
plot((MichalewiczWorst(14,:)),'Color',colors(14,:))
plot((MichalewiczWorst(15,:)),'Color',colors(15,:))
plot((MichalewiczWorst(16,:)),'Color',colors(16,:))
plot((MichalewiczWorst(17,:)),'Color',colors(17,:))
plot((MichalewiczWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((MichalewiczWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Michalewicz');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/MichalewiczWorst.eps','-depsc2');

fbest=figure('Name','Perm');
hold on;
plot((PermBest(1,:)),'Color',colors(1,:))
plot((PermBest(2,:)),'Color',colors(2,:))
plot((PermBest(3,:)),'Color',colors(3,:))
plot((PermBest(4,:)),'Color',colors(4,:))
plot((PermBest(5,:)),'Color',colors(5,:))
plot((PermBest(6,:)),'Color',colors(6,:))
plot((PermBest(7,:)),'Color',colors(7,:))
plot((PermBest(8,:)),'Color',colors(8,:))
plot((PermBest(9,:)),'Color',colors(9,:))
plot((PermBest(10,:)),'Color',colors(10,:))
plot((PermBest(11,:)),'Color',colors(11,:))
plot((PermBest(12,:)),'Color',colors(12,:))
plot((PermBest(13,:)),'Color',colors(13,:))
plot((PermBest(14,:)),'Color',colors(14,:))
plot((PermBest(15,:)),'Color',colors(15,:))
plot((PermBest(16,:)),'Color',colors(16,:))
plot((PermBest(17,:)),'Color',colors(17,:))
plot((PermBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PermBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Perm');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PermBest.eps','-depsc2');

fworst=figure('Name','Perm');
hold on;
plot((PermWorst(1,:)),'Color',colors(1,:))
plot((PermWorst(2,:)),'Color',colors(2,:))
plot((PermWorst(3,:)),'Color',colors(3,:))
plot((PermWorst(4,:)),'Color',colors(4,:))
plot((PermWorst(5,:)),'Color',colors(5,:))
plot((PermWorst(6,:)),'Color',colors(6,:))
plot((PermWorst(7,:)),'Color',colors(7,:))
plot((PermWorst(8,:)),'Color',colors(8,:))
plot((PermWorst(9,:)),'Color',colors(9,:))
plot((PermWorst(10,:)),'Color',colors(10,:))
plot((PermWorst(11,:)),'Color',colors(11,:))
plot((PermWorst(12,:)),'Color',colors(12,:))
plot((PermWorst(13,:)),'Color',colors(13,:))
plot((PermWorst(14,:)),'Color',colors(14,:))
plot((PermWorst(15,:)),'Color',colors(15,:))
plot((PermWorst(16,:)),'Color',colors(16,:))
plot((PermWorst(17,:)),'Color',colors(17,:))
plot((PermWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PermWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Perm');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PermWorst.eps','-depsc2');

fbest=figure('Name','Powell');
hold on;
plot((PowellBest(1,:)),'Color',colors(1,:))
plot((PowellBest(2,:)),'Color',colors(2,:))
plot((PowellBest(3,:)),'Color',colors(3,:))
plot((PowellBest(4,:)),'Color',colors(4,:))
plot((PowellBest(5,:)),'Color',colors(5,:))
plot((PowellBest(6,:)),'Color',colors(6,:))
plot((PowellBest(7,:)),'Color',colors(7,:))
plot((PowellBest(8,:)),'Color',colors(8,:))
plot((PowellBest(9,:)),'Color',colors(9,:))
plot((PowellBest(10,:)),'Color',colors(10,:))
plot((PowellBest(11,:)),'Color',colors(11,:))
plot((PowellBest(12,:)),'Color',colors(12,:))
plot((PowellBest(13,:)),'Color',colors(13,:))
plot((PowellBest(14,:)),'Color',colors(14,:))
plot((PowellBest(15,:)),'Color',colors(15,:))
plot((PowellBest(16,:)),'Color',colors(16,:))
plot((PowellBest(17,:)),'Color',colors(17,:))
plot((PowellBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PowellBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Powell');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PowellBest.eps','-depsc2');

fworst=figure('Name','Powell');
hold on;
plot((PowellWorst(1,:)),'Color',colors(1,:))
plot((PowellWorst(2,:)),'Color',colors(2,:))
plot((PowellWorst(3,:)),'Color',colors(3,:))
plot((PowellWorst(4,:)),'Color',colors(4,:))
plot((PowellWorst(5,:)),'Color',colors(5,:))
plot((PowellWorst(6,:)),'Color',colors(6,:))
plot((PowellWorst(7,:)),'Color',colors(7,:))
plot((PowellWorst(8,:)),'Color',colors(8,:))
plot((PowellWorst(9,:)),'Color',colors(9,:))
plot((PowellWorst(10,:)),'Color',colors(10,:))
plot((PowellWorst(11,:)),'Color',colors(11,:))
plot((PowellWorst(12,:)),'Color',colors(12,:))
plot((PowellWorst(13,:)),'Color',colors(13,:))
plot((PowellWorst(14,:)),'Color',colors(14,:))
plot((PowellWorst(15,:)),'Color',colors(15,:))
plot((PowellWorst(16,:)),'Color',colors(16,:))
plot((PowellWorst(17,:)),'Color',colors(17,:))
plot((PowellWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PowellWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Powell');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PowellWorst.eps','-depsc2');

fbest=figure('Name','PowerSum');
hold on;
plot((PowerSumBest(1,:)),'Color',colors(1,:))
plot((PowerSumBest(2,:)),'Color',colors(2,:))
plot((PowerSumBest(3,:)),'Color',colors(3,:))
plot((PowerSumBest(4,:)),'Color',colors(4,:))
plot((PowerSumBest(5,:)),'Color',colors(5,:))
plot((PowerSumBest(6,:)),'Color',colors(6,:))
plot((PowerSumBest(7,:)),'Color',colors(7,:))
plot((PowerSumBest(8,:)),'Color',colors(8,:))
plot((PowerSumBest(9,:)),'Color',colors(9,:))
plot((PowerSumBest(10,:)),'Color',colors(10,:))
plot((PowerSumBest(11,:)),'Color',colors(11,:))
plot((PowerSumBest(12,:)),'Color',colors(12,:))
plot((PowerSumBest(13,:)),'Color',colors(13,:))
plot((PowerSumBest(14,:)),'Color',colors(14,:))
plot((PowerSumBest(15,:)),'Color',colors(15,:))
plot((PowerSumBest(16,:)),'Color',colors(16,:))
plot((PowerSumBest(17,:)),'Color',colors(17,:))
plot((PowerSumBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PowerSumBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('PowerSum');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PowerSumBest.eps','-depsc2');

fworst=figure('Name','PowerSum');
hold on;
plot((PowerSumWorst(1,:)),'Color',colors(1,:))
plot((PowerSumWorst(2,:)),'Color',colors(2,:))
plot((PowerSumWorst(3,:)),'Color',colors(3,:))
plot((PowerSumWorst(4,:)),'Color',colors(4,:))
plot((PowerSumWorst(5,:)),'Color',colors(5,:))
plot((PowerSumWorst(6,:)),'Color',colors(6,:))
plot((PowerSumWorst(7,:)),'Color',colors(7,:))
plot((PowerSumWorst(8,:)),'Color',colors(8,:))
plot((PowerSumWorst(9,:)),'Color',colors(9,:))
plot((PowerSumWorst(10,:)),'Color',colors(10,:))
plot((PowerSumWorst(11,:)),'Color',colors(11,:))
plot((PowerSumWorst(12,:)),'Color',colors(12,:))
plot((PowerSumWorst(13,:)),'Color',colors(13,:))
plot((PowerSumWorst(14,:)),'Color',colors(14,:))
plot((PowerSumWorst(15,:)),'Color',colors(15,:))
plot((PowerSumWorst(16,:)),'Color',colors(16,:))
plot((PowerSumWorst(17,:)),'Color',colors(17,:))
plot((PowerSumWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((PowerSumWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('PowerSum');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/PowerSumWorst.eps','-depsc2');

fbest=figure('Name','Rana');
hold on;
plot((RanaBest(1,:)),'Color',colors(1,:))
plot((RanaBest(2,:)),'Color',colors(2,:))
plot((RanaBest(3,:)),'Color',colors(3,:))
plot((RanaBest(4,:)),'Color',colors(4,:))
plot((RanaBest(5,:)),'Color',colors(5,:))
plot((RanaBest(6,:)),'Color',colors(6,:))
plot((RanaBest(7,:)),'Color',colors(7,:))
plot((RanaBest(8,:)),'Color',colors(8,:))
plot((RanaBest(9,:)),'Color',colors(9,:))
plot((RanaBest(10,:)),'Color',colors(10,:))
plot((RanaBest(11,:)),'Color',colors(11,:))
plot((RanaBest(12,:)),'Color',colors(12,:))
plot((RanaBest(13,:)),'Color',colors(13,:))
plot((RanaBest(14,:)),'Color',colors(14,:))
plot((RanaBest(15,:)),'Color',colors(15,:))
plot((RanaBest(16,:)),'Color',colors(16,:))
plot((RanaBest(17,:)),'Color',colors(17,:))
plot((RanaBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RanaBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rana');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RanaBest.eps','-depsc2');

fworst=figure('Name','Rana');
hold on;
plot((RanaWorst(1,:)),'Color',colors(1,:))
plot((RanaWorst(2,:)),'Color',colors(2,:))
plot((RanaWorst(3,:)),'Color',colors(3,:))
plot((RanaWorst(4,:)),'Color',colors(4,:))
plot((RanaWorst(5,:)),'Color',colors(5,:))
plot((RanaWorst(6,:)),'Color',colors(6,:))
plot((RanaWorst(7,:)),'Color',colors(7,:))
plot((RanaWorst(8,:)),'Color',colors(8,:))
plot((RanaWorst(9,:)),'Color',colors(9,:))
plot((RanaWorst(10,:)),'Color',colors(10,:))
plot((RanaWorst(11,:)),'Color',colors(11,:))
plot((RanaWorst(12,:)),'Color',colors(12,:))
plot((RanaWorst(13,:)),'Color',colors(13,:))
plot((RanaWorst(14,:)),'Color',colors(14,:))
plot((RanaWorst(15,:)),'Color',colors(15,:))
plot((RanaWorst(16,:)),'Color',colors(16,:))
plot((RanaWorst(17,:)),'Color',colors(17,:))
plot((RanaWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RanaWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rana');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RanaWorst.eps','-depsc2');

fbest=figure('Name','Rastrigin');
hold on;
plot((RastriginBest(1,:)),'Color',colors(1,:))
plot((RastriginBest(2,:)),'Color',colors(2,:))
plot((RastriginBest(3,:)),'Color',colors(3,:))
plot((RastriginBest(4,:)),'Color',colors(4,:))
plot((RastriginBest(5,:)),'Color',colors(5,:))
plot((RastriginBest(6,:)),'Color',colors(6,:))
plot((RastriginBest(7,:)),'Color',colors(7,:))
plot((RastriginBest(8,:)),'Color',colors(8,:))
plot((RastriginBest(9,:)),'Color',colors(9,:))
plot((RastriginBest(10,:)),'Color',colors(10,:))
plot((RastriginBest(11,:)),'Color',colors(11,:))
plot((RastriginBest(12,:)),'Color',colors(12,:))
plot((RastriginBest(13,:)),'Color',colors(13,:))
plot((RastriginBest(14,:)),'Color',colors(14,:))
plot((RastriginBest(15,:)),'Color',colors(15,:))
plot((RastriginBest(16,:)),'Color',colors(16,:))
plot((RastriginBest(17,:)),'Color',colors(17,:))
plot((RastriginBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RastriginBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rastrigin');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RastriginBest.eps','-depsc2');

fworst=figure('Name','Rastrigin');
hold on;
plot((RastriginWorst(1,:)),'Color',colors(1,:))
plot((RastriginWorst(2,:)),'Color',colors(2,:))
plot((RastriginWorst(3,:)),'Color',colors(3,:))
plot((RastriginWorst(4,:)),'Color',colors(4,:))
plot((RastriginWorst(5,:)),'Color',colors(5,:))
plot((RastriginWorst(6,:)),'Color',colors(6,:))
plot((RastriginWorst(7,:)),'Color',colors(7,:))
plot((RastriginWorst(8,:)),'Color',colors(8,:))
plot((RastriginWorst(9,:)),'Color',colors(9,:))
plot((RastriginWorst(10,:)),'Color',colors(10,:))
plot((RastriginWorst(11,:)),'Color',colors(11,:))
plot((RastriginWorst(12,:)),'Color',colors(12,:))
plot((RastriginWorst(13,:)),'Color',colors(13,:))
plot((RastriginWorst(14,:)),'Color',colors(14,:))
plot((RastriginWorst(15,:)),'Color',colors(15,:))
plot((RastriginWorst(16,:)),'Color',colors(16,:))
plot((RastriginWorst(17,:)),'Color',colors(17,:))
plot((RastriginWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RastriginWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rastrigin');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RastriginWorst.eps','-depsc2');

fbest=figure('Name','Rosenbrock');
hold on;
plot((RosenbrockBest(1,:)),'Color',colors(1,:))
plot((RosenbrockBest(2,:)),'Color',colors(2,:))
plot((RosenbrockBest(3,:)),'Color',colors(3,:))
plot((RosenbrockBest(4,:)),'Color',colors(4,:))
plot((RosenbrockBest(5,:)),'Color',colors(5,:))
plot((RosenbrockBest(6,:)),'Color',colors(6,:))
plot((RosenbrockBest(7,:)),'Color',colors(7,:))
plot((RosenbrockBest(8,:)),'Color',colors(8,:))
plot((RosenbrockBest(9,:)),'Color',colors(9,:))
plot((RosenbrockBest(10,:)),'Color',colors(10,:))
plot((RosenbrockBest(11,:)),'Color',colors(11,:))
plot((RosenbrockBest(12,:)),'Color',colors(12,:))
plot((RosenbrockBest(13,:)),'Color',colors(13,:))
plot((RosenbrockBest(14,:)),'Color',colors(14,:))
plot((RosenbrockBest(15,:)),'Color',colors(15,:))
plot((RosenbrockBest(16,:)),'Color',colors(16,:))
plot((RosenbrockBest(17,:)),'Color',colors(17,:))
plot((RosenbrockBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RosenbrockBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rosenbrock');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RosenbrockBest.eps','-depsc2');

fworst=figure('Name','Rosenbrock');
hold on;
plot((RosenbrockWorst(1,:)),'Color',colors(1,:))
plot((RosenbrockWorst(2,:)),'Color',colors(2,:))
plot((RosenbrockWorst(3,:)),'Color',colors(3,:))
plot((RosenbrockWorst(4,:)),'Color',colors(4,:))
plot((RosenbrockWorst(5,:)),'Color',colors(5,:))
plot((RosenbrockWorst(6,:)),'Color',colors(6,:))
plot((RosenbrockWorst(7,:)),'Color',colors(7,:))
plot((RosenbrockWorst(8,:)),'Color',colors(8,:))
plot((RosenbrockWorst(9,:)),'Color',colors(9,:))
plot((RosenbrockWorst(10,:)),'Color',colors(10,:))
plot((RosenbrockWorst(11,:)),'Color',colors(11,:))
plot((RosenbrockWorst(12,:)),'Color',colors(12,:))
plot((RosenbrockWorst(13,:)),'Color',colors(13,:))
plot((RosenbrockWorst(14,:)),'Color',colors(14,:))
plot((RosenbrockWorst(15,:)),'Color',colors(15,:))
plot((RosenbrockWorst(16,:)),'Color',colors(16,:))
plot((RosenbrockWorst(17,:)),'Color',colors(17,:))
plot((RosenbrockWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((RosenbrockWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Rosenbrock');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/RosenbrockWorst.eps','-depsc2');

fbest=figure('Name','Schwefel');
hold on;
plot((SchwefelBest(1,:)),'Color',colors(1,:))
plot((SchwefelBest(2,:)),'Color',colors(2,:))
plot((SchwefelBest(3,:)),'Color',colors(3,:))
plot((SchwefelBest(4,:)),'Color',colors(4,:))
plot((SchwefelBest(5,:)),'Color',colors(5,:))
plot((SchwefelBest(6,:)),'Color',colors(6,:))
plot((SchwefelBest(7,:)),'Color',colors(7,:))
plot((SchwefelBest(8,:)),'Color',colors(8,:))
plot((SchwefelBest(9,:)),'Color',colors(9,:))
plot((SchwefelBest(10,:)),'Color',colors(10,:))
plot((SchwefelBest(11,:)),'Color',colors(11,:))
plot((SchwefelBest(12,:)),'Color',colors(12,:))
plot((SchwefelBest(13,:)),'Color',colors(13,:))
plot((SchwefelBest(14,:)),'Color',colors(14,:))
plot((SchwefelBest(15,:)),'Color',colors(15,:))
plot((SchwefelBest(16,:)),'Color',colors(16,:))
plot((SchwefelBest(17,:)),'Color',colors(17,:))
plot((SchwefelBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((SchwefelBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Schwefel');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/SchwefelBest.eps','-depsc2');

fworst=figure('Name','Schwefel');
hold on;
plot((SchwefelWorst(1,:)),'Color',colors(1,:))
plot((SchwefelWorst(2,:)),'Color',colors(2,:))
plot((SchwefelWorst(3,:)),'Color',colors(3,:))
plot((SchwefelWorst(4,:)),'Color',colors(4,:))
plot((SchwefelWorst(5,:)),'Color',colors(5,:))
plot((SchwefelWorst(6,:)),'Color',colors(6,:))
plot((SchwefelWorst(7,:)),'Color',colors(7,:))
plot((SchwefelWorst(8,:)),'Color',colors(8,:))
plot((SchwefelWorst(9,:)),'Color',colors(9,:))
plot((SchwefelWorst(10,:)),'Color',colors(10,:))
plot((SchwefelWorst(11,:)),'Color',colors(11,:))
plot((SchwefelWorst(12,:)),'Color',colors(12,:))
plot((SchwefelWorst(13,:)),'Color',colors(13,:))
plot((SchwefelWorst(14,:)),'Color',colors(14,:))
plot((SchwefelWorst(15,:)),'Color',colors(15,:))
plot((SchwefelWorst(16,:)),'Color',colors(16,:))
plot((SchwefelWorst(17,:)),'Color',colors(17,:))
plot((SchwefelWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((SchwefelWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Schwefel');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/SchwefelWorst.eps','-depsc2');

fbest=figure('Name','Shekel');
hold on;
plot((ShekelBest(1,:)),'Color',colors(1,:))
plot((ShekelBest(2,:)),'Color',colors(2,:))
plot((ShekelBest(3,:)),'Color',colors(3,:))
plot((ShekelBest(4,:)),'Color',colors(4,:))
plot((ShekelBest(5,:)),'Color',colors(5,:))
plot((ShekelBest(6,:)),'Color',colors(6,:))
plot((ShekelBest(7,:)),'Color',colors(7,:))
plot((ShekelBest(8,:)),'Color',colors(8,:))
plot((ShekelBest(9,:)),'Color',colors(9,:))
plot((ShekelBest(10,:)),'Color',colors(10,:))
plot((ShekelBest(11,:)),'Color',colors(11,:))
plot((ShekelBest(12,:)),'Color',colors(12,:))
plot((ShekelBest(13,:)),'Color',colors(13,:))
plot((ShekelBest(14,:)),'Color',colors(14,:))
plot((ShekelBest(15,:)),'Color',colors(15,:))
plot((ShekelBest(16,:)),'Color',colors(16,:))
plot((ShekelBest(17,:)),'Color',colors(17,:))
plot((ShekelBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ShekelBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Shekel');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ShekelBest.eps','-depsc2');

fworst=figure('Name','Shekel');
hold on;
plot((ShekelWorst(1,:)),'Color',colors(1,:))
plot((ShekelWorst(2,:)),'Color',colors(2,:))
plot((ShekelWorst(3,:)),'Color',colors(3,:))
plot((ShekelWorst(4,:)),'Color',colors(4,:))
plot((ShekelWorst(5,:)),'Color',colors(5,:))
plot((ShekelWorst(6,:)),'Color',colors(6,:))
plot((ShekelWorst(7,:)),'Color',colors(7,:))
plot((ShekelWorst(8,:)),'Color',colors(8,:))
plot((ShekelWorst(9,:)),'Color',colors(9,:))
plot((ShekelWorst(10,:)),'Color',colors(10,:))
plot((ShekelWorst(11,:)),'Color',colors(11,:))
plot((ShekelWorst(12,:)),'Color',colors(12,:))
plot((ShekelWorst(13,:)),'Color',colors(13,:))
plot((ShekelWorst(14,:)),'Color',colors(14,:))
plot((ShekelWorst(15,:)),'Color',colors(15,:))
plot((ShekelWorst(16,:)),'Color',colors(16,:))
plot((ShekelWorst(17,:)),'Color',colors(17,:))
plot((ShekelWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ShekelWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Shekel');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ShekelWorst.eps','-depsc2');

fbest=figure('Name','Shubert');
hold on;
plot((ShubertBest(1,:)),'Color',colors(1,:))
plot((ShubertBest(2,:)),'Color',colors(2,:))
plot((ShubertBest(3,:)),'Color',colors(3,:))
plot((ShubertBest(4,:)),'Color',colors(4,:))
plot((ShubertBest(5,:)),'Color',colors(5,:))
plot((ShubertBest(6,:)),'Color',colors(6,:))
plot((ShubertBest(7,:)),'Color',colors(7,:))
plot((ShubertBest(8,:)),'Color',colors(8,:))
plot((ShubertBest(9,:)),'Color',colors(9,:))
plot((ShubertBest(10,:)),'Color',colors(10,:))
plot((ShubertBest(11,:)),'Color',colors(11,:))
plot((ShubertBest(12,:)),'Color',colors(12,:))
plot((ShubertBest(13,:)),'Color',colors(13,:))
plot((ShubertBest(14,:)),'Color',colors(14,:))
plot((ShubertBest(15,:)),'Color',colors(15,:))
plot((ShubertBest(16,:)),'Color',colors(16,:))
plot((ShubertBest(17,:)),'Color',colors(17,:))
plot((ShubertBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ShubertBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Shubert');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ShubertBest.eps','-depsc2');

fworst=figure('Name','Shubert');
hold on;
plot((ShubertWorst(1,:)),'Color',colors(1,:))
plot((ShubertWorst(2,:)),'Color',colors(2,:))
plot((ShubertWorst(3,:)),'Color',colors(3,:))
plot((ShubertWorst(4,:)),'Color',colors(4,:))
plot((ShubertWorst(5,:)),'Color',colors(5,:))
plot((ShubertWorst(6,:)),'Color',colors(6,:))
plot((ShubertWorst(7,:)),'Color',colors(7,:))
plot((ShubertWorst(8,:)),'Color',colors(8,:))
plot((ShubertWorst(9,:)),'Color',colors(9,:))
plot((ShubertWorst(10,:)),'Color',colors(10,:))
plot((ShubertWorst(11,:)),'Color',colors(11,:))
plot((ShubertWorst(12,:)),'Color',colors(12,:))
plot((ShubertWorst(13,:)),'Color',colors(13,:))
plot((ShubertWorst(14,:)),'Color',colors(14,:))
plot((ShubertWorst(15,:)),'Color',colors(15,:))
plot((ShubertWorst(16,:)),'Color',colors(16,:))
plot((ShubertWorst(17,:)),'Color',colors(17,:))
plot((ShubertWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ShubertWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Shubert');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ShubertWorst.eps','-depsc2');

fbest=figure('Name','Sphere');
hold on;
plot((SphereBest(1,:)),'Color',colors(1,:))
plot((SphereBest(2,:)),'Color',colors(2,:))
plot((SphereBest(3,:)),'Color',colors(3,:))
plot((SphereBest(4,:)),'Color',colors(4,:))
plot((SphereBest(5,:)),'Color',colors(5,:))
plot((SphereBest(6,:)),'Color',colors(6,:))
plot((SphereBest(7,:)),'Color',colors(7,:))
plot((SphereBest(8,:)),'Color',colors(8,:))
plot((SphereBest(9,:)),'Color',colors(9,:))
plot((SphereBest(10,:)),'Color',colors(10,:))
plot((SphereBest(11,:)),'Color',colors(11,:))
plot((SphereBest(12,:)),'Color',colors(12,:))
plot((SphereBest(13,:)),'Color',colors(13,:))
plot((SphereBest(14,:)),'Color',colors(14,:))
plot((SphereBest(15,:)),'Color',colors(15,:))
plot((SphereBest(16,:)),'Color',colors(16,:))
plot((SphereBest(17,:)),'Color',colors(17,:))
plot((SphereBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((SphereBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Sphere');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/SphereBest.eps','-depsc2');

fworst=figure('Name','Sphere');
hold on;
plot((SphereWorst(1,:)),'Color',colors(1,:))
plot((SphereWorst(2,:)),'Color',colors(2,:))
plot((SphereWorst(3,:)),'Color',colors(3,:))
plot((SphereWorst(4,:)),'Color',colors(4,:))
plot((SphereWorst(5,:)),'Color',colors(5,:))
plot((SphereWorst(6,:)),'Color',colors(6,:))
plot((SphereWorst(7,:)),'Color',colors(7,:))
plot((SphereWorst(8,:)),'Color',colors(8,:))
plot((SphereWorst(9,:)),'Color',colors(9,:))
plot((SphereWorst(10,:)),'Color',colors(10,:))
plot((SphereWorst(11,:)),'Color',colors(11,:))
plot((SphereWorst(12,:)),'Color',colors(12,:))
plot((SphereWorst(13,:)),'Color',colors(13,:))
plot((SphereWorst(14,:)),'Color',colors(14,:))
plot((SphereWorst(15,:)),'Color',colors(15,:))
plot((SphereWorst(16,:)),'Color',colors(16,:))
plot((SphereWorst(17,:)),'Color',colors(17,:))
plot((SphereWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((SphereWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Sphere');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/SphereWorst.eps','-depsc2');

fbest=figure('Name','Trid');
hold on;
plot((TridBest(1,:)),'Color',colors(1,:))
plot((TridBest(2,:)),'Color',colors(2,:))
plot((TridBest(3,:)),'Color',colors(3,:))
plot((TridBest(4,:)),'Color',colors(4,:))
plot((TridBest(5,:)),'Color',colors(5,:))
plot((TridBest(6,:)),'Color',colors(6,:))
plot((TridBest(7,:)),'Color',colors(7,:))
plot((TridBest(8,:)),'Color',colors(8,:))
plot((TridBest(9,:)),'Color',colors(9,:))
plot((TridBest(10,:)),'Color',colors(10,:))
plot((TridBest(11,:)),'Color',colors(11,:))
plot((TridBest(12,:)),'Color',colors(12,:))
plot((TridBest(13,:)),'Color',colors(13,:))
plot((TridBest(14,:)),'Color',colors(14,:))
plot((TridBest(15,:)),'Color',colors(15,:))
plot((TridBest(16,:)),'Color',colors(16,:))
plot((TridBest(17,:)),'Color',colors(17,:))
plot((TridBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((TridBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Trid');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/TridBest.eps','-depsc2');

fworst=figure('Name','Trid');
hold on;
plot((TridWorst(1,:)),'Color',colors(1,:))
plot((TridWorst(2,:)),'Color',colors(2,:))
plot((TridWorst(3,:)),'Color',colors(3,:))
plot((TridWorst(4,:)),'Color',colors(4,:))
plot((TridWorst(5,:)),'Color',colors(5,:))
plot((TridWorst(6,:)),'Color',colors(6,:))
plot((TridWorst(7,:)),'Color',colors(7,:))
plot((TridWorst(8,:)),'Color',colors(8,:))
plot((TridWorst(9,:)),'Color',colors(9,:))
plot((TridWorst(10,:)),'Color',colors(10,:))
plot((TridWorst(11,:)),'Color',colors(11,:))
plot((TridWorst(12,:)),'Color',colors(12,:))
plot((TridWorst(13,:)),'Color',colors(13,:))
plot((TridWorst(14,:)),'Color',colors(14,:))
plot((TridWorst(15,:)),'Color',colors(15,:))
plot((TridWorst(16,:)),'Color',colors(16,:))
plot((TridWorst(17,:)),'Color',colors(17,:))
plot((TridWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((TridWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Trid');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/TridWorst.eps','-depsc2');

fbest=figure('Name','Whitley');
hold on;
plot((WhitleyBest(1,:)),'Color',colors(1,:))
plot((WhitleyBest(2,:)),'Color',colors(2,:))
plot((WhitleyBest(3,:)),'Color',colors(3,:))
plot((WhitleyBest(4,:)),'Color',colors(4,:))
plot((WhitleyBest(5,:)),'Color',colors(5,:))
plot((WhitleyBest(6,:)),'Color',colors(6,:))
plot((WhitleyBest(7,:)),'Color',colors(7,:))
plot((WhitleyBest(8,:)),'Color',colors(8,:))
plot((WhitleyBest(9,:)),'Color',colors(9,:))
plot((WhitleyBest(10,:)),'Color',colors(10,:))
plot((WhitleyBest(11,:)),'Color',colors(11,:))
plot((WhitleyBest(12,:)),'Color',colors(12,:))
plot((WhitleyBest(13,:)),'Color',colors(13,:))
plot((WhitleyBest(14,:)),'Color',colors(14,:))
plot((WhitleyBest(15,:)),'Color',colors(15,:))
plot((WhitleyBest(16,:)),'Color',colors(16,:))
plot((WhitleyBest(17,:)),'Color',colors(17,:))
plot((WhitleyBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((WhitleyBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Whitley');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/WhitleyBest.eps','-depsc2');

fworst=figure('Name','Whitley');
hold on;
plot((WhitleyWorst(1,:)),'Color',colors(1,:))
plot((WhitleyWorst(2,:)),'Color',colors(2,:))
plot((WhitleyWorst(3,:)),'Color',colors(3,:))
plot((WhitleyWorst(4,:)),'Color',colors(4,:))
plot((WhitleyWorst(5,:)),'Color',colors(5,:))
plot((WhitleyWorst(6,:)),'Color',colors(6,:))
plot((WhitleyWorst(7,:)),'Color',colors(7,:))
plot((WhitleyWorst(8,:)),'Color',colors(8,:))
plot((WhitleyWorst(9,:)),'Color',colors(9,:))
plot((WhitleyWorst(10,:)),'Color',colors(10,:))
plot((WhitleyWorst(11,:)),'Color',colors(11,:))
plot((WhitleyWorst(12,:)),'Color',colors(12,:))
plot((WhitleyWorst(13,:)),'Color',colors(13,:))
plot((WhitleyWorst(14,:)),'Color',colors(14,:))
plot((WhitleyWorst(15,:)),'Color',colors(15,:))
plot((WhitleyWorst(16,:)),'Color',colors(16,:))
plot((WhitleyWorst(17,:)),'Color',colors(17,:))
plot((WhitleyWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((WhitleyWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Whitley');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/WhitleyWorst.eps','-depsc2');

fbest=figure('Name','Zakharov');
hold on;
plot((ZakharovBest(1,:)),'Color',colors(1,:))
plot((ZakharovBest(2,:)),'Color',colors(2,:))
plot((ZakharovBest(3,:)),'Color',colors(3,:))
plot((ZakharovBest(4,:)),'Color',colors(4,:))
plot((ZakharovBest(5,:)),'Color',colors(5,:))
plot((ZakharovBest(6,:)),'Color',colors(6,:))
plot((ZakharovBest(7,:)),'Color',colors(7,:))
plot((ZakharovBest(8,:)),'Color',colors(8,:))
plot((ZakharovBest(9,:)),'Color',colors(9,:))
plot((ZakharovBest(10,:)),'Color',colors(10,:))
plot((ZakharovBest(11,:)),'Color',colors(11,:))
plot((ZakharovBest(12,:)),'Color',colors(12,:))
plot((ZakharovBest(13,:)),'Color',colors(13,:))
plot((ZakharovBest(14,:)),'Color',colors(14,:))
plot((ZakharovBest(15,:)),'Color',colors(15,:))
plot((ZakharovBest(16,:)),'Color',colors(16,:))
plot((ZakharovBest(17,:)),'Color',colors(17,:))
plot((ZakharovBest(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ZakharovBest(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Zakharov');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ZakharovBest.eps','-depsc2');

fworst=figure('Name','Zakharov');
hold on;
plot((ZakharovWorst(1,:)),'Color',colors(1,:))
plot((ZakharovWorst(2,:)),'Color',colors(2,:))
plot((ZakharovWorst(3,:)),'Color',colors(3,:))
plot((ZakharovWorst(4,:)),'Color',colors(4,:))
plot((ZakharovWorst(5,:)),'Color',colors(5,:))
plot((ZakharovWorst(6,:)),'Color',colors(6,:))
plot((ZakharovWorst(7,:)),'Color',colors(7,:))
plot((ZakharovWorst(8,:)),'Color',colors(8,:))
plot((ZakharovWorst(9,:)),'Color',colors(9,:))
plot((ZakharovWorst(10,:)),'Color',colors(10,:))
plot((ZakharovWorst(11,:)),'Color',colors(11,:))
plot((ZakharovWorst(12,:)),'Color',colors(12,:))
plot((ZakharovWorst(13,:)),'Color',colors(13,:))
plot((ZakharovWorst(14,:)),'Color',colors(14,:))
plot((ZakharovWorst(15,:)),'Color',colors(15,:))
plot((ZakharovWorst(16,:)),'Color',colors(16,:))
plot((ZakharovWorst(17,:)),'Color',colors(17,:))
plot((ZakharovWorst(18,:)),'LineWidth',2,'Color',colors(18,:))
plot((ZakharovWorst(19,:)),'LineWidth',2,'Color',colors(19,:))
legend(methods);
title('Zakharov');
xlabel('Generace (g)');
ylabel('Fitness f(x)')

print('comparsion/figures/ZakharovWorst.eps','-depsc2');


close all;
